postgres-schema-mcp
An MCP server that provides AI agents with a relevant slice of a wide Postgres schema instead of dumping the entire DDL. It enforces read-only access in three layers and uses a BM25 ranking backend to retrieve only necessary table definitions, significantly reducing token usage compared to full schema dumps.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Retrieve relevant schema slices for AI agents
- Enforce read-only access to database schemas
- Reduce token usage by filtering schema context
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
postgres-schema-mcp 0.1.0
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "postgres-schema-mcp",
"registryType": "pypi"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"postgres-schema-mcp": {
"command": "uvx",
"args": [
"postgres-schema-mcp==0.1.0"
]
}
}
}Cline
{
"mcpServers": {
"postgres-schema-mcp": {
"command": "uvx",
"args": [
"postgres-schema-mcp==0.1.0"
]
}
}
}VS Code
{
"servers": {
"postgres-schema-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"postgres-schema-mcp==0.1.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"postgres-schema-mcp": {
"command": "uvx",
"args": [
"postgres-schema-mcp==0.1.0"
]
}
}
}Let your agent find its tools
Find servers like postgres-schema-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.