pgvector runs on your own machine — the client starts it, so there is no endpoint to ping. 88 installs a week from pypi. Last commit 21 Jul 2026.
Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables
Today is the operative word: we check pgvector every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add pgvector -e 'DATABASE_URL=<DATABASE_URL>' -- uvx mcp-server-pgvector
{
"mcpServers": {
"pgvector": {
"command": "uvx",
"args": [
"mcp-server-pgvector"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
[mcp_servers.pgvector]
command = "uvx"
args = ["mcp-server-pgvector"]
env = { DATABASE_URL = "<DATABASE_URL>" }
{
"mcpServers": {
"pgvector": {
"command": "uvx",
"args": [
"mcp-server-pgvector"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
{
"servers": {
"pgvector": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-pgvector"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
Put your own value in place of
<DATABASE_URL> (PostgreSQL connection string, e.g. postgresql://user:password@host:5432/dbname).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
MCP_PGVECTOR_READ_ONLY (Set to 'true' to disable upsert_embedding and create_vector_index).
SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI
Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.
Store and retrieve text in a Qdrant vector database by similarity search.
Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.
Self-hosted MCP server for FileMaker and PostgreSQL. Turns chosen tables into tools for AI agents.
Serverless hybrid search: full-text, vector and faceted search, in SQL, ES DSL, Solr and more.
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
Answers built from our own checks of this server.