MCP server for read-only PostgreSQL database queries in Claude Desktop
registry version 0.1.0
npm
npx -y @hovecapital/read-only-postgres-mcp-servernpm
npx -y @hovecapital/read-only-postgres-mcp-server@0.1.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server"
]
}
}
}{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server@0.1.0"
]
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add read-only-local-postgres-mcp-server -- npx -y @hovecapital/read-only-postgres-mcp-server
claude mcp add read-only-local-postgres-mcp-server -- npx -y @hovecapital/read-only-postgres-mcp-server@0.1.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server"
]
}
}
}{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server@0.1.0"
]
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server"
]
}
}
}{
"servers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server@0.1.0"
]
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server"
]
}
}
}{
"mcpServers": {
"read-only-local-postgres-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hovecapital/read-only-postgres-mcp-server@0.1.0"
]
}
}
}Format verified against the official Windsurf docs ↗.
⭐ 2 stars · 最近更新于 21 天前 · MIT license
PostgreSQL MCP Server A Model Context Protocol (MCP) server that enables Claude Desktop to interact with PostgreSQL databases through natural language queries. Features Execute read only SQL queries through Claude Desktop or Claude Code Dynamic database connections connect to any PostgreSQL database…
Summary from the project README — github.com/hovecapital/read-only-local-postgres-mcp-server
Distributed as npm, listed under Databases. Review our MCP security guide before granting access to real data.
PostgreSQL MCP Server A Model Context Protocol (MCP) server that enables Claude Desktop to interact with PostgreSQL databases through natural language queries. Features Execute read only SQL queries through Claude Desktop or Claude Code Dynamic database connections connect to any PostgreSQL database
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/hovecapital/read-only-local-postgres-mcp-server. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/read-only-local-postgres-mcp-server/)
HTML
<a href="https://mcpnav.net/server/read-only-local-postgres-mcp-server/"><img src="https://mcpnav.net/badge/read-only-local-postgres-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>