PostgreSQL
Provides read-only access to PostgreSQL databases, allowing LLMs to inspect schemas and execute queries.
K_YH mcp-db-server
Introduction
This package is purely experimental and just for fun!
Do not use this code in production or with any critical databases.
This implementation grants full control over the database to the agent. Therefore, it is strongly discouraged to use shared or sensitive databases.
References
This implementation is based on the mcp/postgres Docker image.
Usage
npx @k_yh/mcp-db-server <your-postgresql-url>
For example:
npx @k_yh/mcp-db-server 'postgresql://user:[email protected]:5432/my-db'
To use this with an agent like Claude desktop or Cursor, configure it like so:
{
"mcpServers": {
"my-db-server": {
"command": "npx",
"args": [
"-y",
"@k_yh/mcp-db-server",
"postgresql://user:password@localhost:5432/my-db"
]
}
}
}
You can manipulate the database through the agent using your prompt.
Related Servers
MCP Data Visualization Server
Generate interactive data visualizations from natural language queries on a DuckDB database.
PawSQL MCP Server
A SQL optimization service providing performance analysis and optimization suggestions through an API.
MarkLogic MCP Server by CData
A read-only MCP server by CData for querying live MarkLogic data with LLMs. Requires a separate CData JDBC Driver.
FDIC BankFind MCP Server
Provides structured U.S. banking data from the FDIC BankFind API for AI tools and workflows.
MySQL DB
An MCP server for integrating with and managing MySQL databases.
Claude Conversation Memory System
Provides searchable local storage for Claude conversation history, enabling context retrieval during sessions.
CoinCap
A MCP server that provides real-time cryptocurrency market data through CoinCap's public API without requiring authentication
CData Google Sheets MCP Server
A read-only MCP server for Google Sheets, enabling LLMs to query live data using the CData JDBC Driver.
Supabase Next.js Server
A simple notes system for Next.js applications using Supabase as the backend.
Seoul Public Data
Provides public data for Seoul, South Korea, including subway ridership and cultural event information, via the Seoul Public Data API.