mcpbeat Sign in

pgvector MCP Server

local only

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

Installs per day peak 27 · avg 12 · -8% w/w
a month agotoday
88
Installs / week
pypi · mcp-server-pgvector
0
Stars
0 open issues
21 Jul 2026
Last commit
from GitHub
MIT
License
Python

Nothing serious here today

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add pgvector -e 'DATABASE_URL=<DATABASE_URL>' -- uvx mcp-server-pgvector
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pgvector": {
      "command": "uvx",
      "args": [
        "mcp-server-pgvector"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.pgvector]
command = "uvx"
args = ["mcp-server-pgvector"]
env = { DATABASE_URL = "<DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "pgvector": {
      "command": "uvx",
      "args": [
        "mcp-server-pgvector"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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).

Alternatives to pgvector

same job, measured the same way
Code Index
by achreftlili

SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.

192 installs/wk local only
Postgres MCP
by pgedge

Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

local only
Memory Vault
by mihaibuilds

Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

local only
Vectorsearch
by cloudcorprecords

Store and retrieve text in a Qdrant vector database by similarity search.

local only
WoWSQL
by wowsql

Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.

answering
A
Ailimu
by ailimu

Self-hosted MCP server for FileMaker and PostgreSQL. Turns chosen tables into tools for AI agents.

local only
WarpSearch
by warpsearchio

Serverless hybrid search: full-text, vector and faceted search, in SQL, ES DSL, Solr and more.

2 tools answering
PostgreSQL MCP Server
by itunified-io

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

43 installs/wk local only

pgvector — questions

Answers built from our own checks of this server.

Why is there no uptime for pgvector?
pgvector runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package mcp-server-pgvector was installed 88 times last week.
How do I connect pgvector?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mcp-server-pgvector straight from pypi; nothing to host, nothing to sign up for.
How many people use pgvector?
The pypi package mcp-server-pgvector was installed 88 times in the last week. Week over week that is -8%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is pgvector open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.