Skip to content
mcp/skillhub

pgvector MCP Server

by mittalpkio.github.mittalpk/pgvectorv0.1.0

Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables

0Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained3mo ago

Install pgvector MCP server

Install in Claude Code

claude mcp add pgvector -e DATABASE_URL='<database-url>' -- uvx mcp-server-pgvector

Configuration

VariableRequiredSecretDescription
DATABASE_URLyesyesPostgreSQL connection string, e.g. postgresql://user:password@host:5432/dbname
MCP_PGVECTOR_READ_ONLY——Set to 'true' to disable upsert_embedding and create_vector_index

Freshness

Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-21 · 3mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-21 · 3mo ago · official registry · v0.1.0

FAQ

›How do I install the pgvector MCP server in Claude Code?

Run: claude mcp add pgvector -e DATABASE_URL='<database-url>' -- uvx mcp-server-pgvector. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does pgvector require an API key?

Yes. It expects DATABASE_URL, of which 1 is a secret.

›Can I use pgvector as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is pgvector in the official MCP registry?

Yes, as io.github.mittalpk/pgvector.

Alternatives to pgvector

Other database MCP servers.

View all