Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables
Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables
Generic Postgres MCP servers expose raw SQL or schema introspection; this one speaks pgvector specifically — nearest-neighbor search, distance metrics, and ANN index tuning are first-class tools, not something the model has to hand-write SQL for.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| list_vector_tables | Discover every vector column in the database, with its dimensionality |
| describe_vector_table | Columns, indexes, and approximate row count for a table |
| similarity_search | k-NN search over a vector column (cosine / L2 / inner product), with structured metadata filters |
| hybrid_search | Weighted blend of vector similarity and Postgres full-text search (ts_rank_cd) |
| upsert_embedding | Insert or update a row's embedding + metadata |
| create_vector_index | Create an HNSW or IVFFlat index with tunable parameters |
| explain_similarity_query | EXPLAIN ANALYZE a similarity query to confirm the ANN index is used |
{
"mcpServers": {
"pgvector": {
"command": "uvx",
"args": ["mcp-server-pgvector"],
"env": {
"DATABASE_URL": "postgresql://user:password@localhost:5432/mydb",
"MCP_PGVECTOR_READ_ONLY": "false",
"MCP_PGVECTOR_COMMAND_TIMEOUT_SECONDS": "30"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DATABASE_URL | Endpoint or connection string the server talks to. | Yes |
| MCP_PGVECTOR_READ_ONLY | Configuration value read at startup. | Optional |
| MCP_PGVECTOR_COMMAND_TIMEOUT_SECONDS | Configuration value read at startup. | Optional |
| PGVECTOR_DATABASE_URL | Endpoint or connection string the server talks to. | Yes |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Find app ideas that already make money. See what 590K+ App Store and Google Play apps earn, which niches have leaders you can beat, and what people search. Pick a winner before you build.
ORMCP Server enables AI LLMs and MCP clients to easily exchange object-oriented data (in JSON format) with any relational database using the MCP
MCP tool for distributed graph memory bank storage in KuzuDB for coding agents
<h2 align="center"> 📢 <strong>COMMUNITY SERVER NOTICE</strong><br/> This is a community-maintained MCP Server.<br/> 👉 For the