Vinkius
pgvector

pgvector MCP. Semantic Search in PostgreSQL. No New Services Needed.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

pgvector (Vector Database) MCP on Cursor AI Code Editor MCP Client pgvector (Vector Database) MCP on Claude Desktop App MCP Integration pgvector (Vector Database) MCP on OpenAI Agents SDK MCP Compatible pgvector (Vector Database) MCP on Visual Studio Code MCP Extension Client pgvector (Vector Database) MCP on GitHub Copilot AI Agent MCP Integration pgvector (Vector Database) MCP on Google Gemini AI MCP Integration pgvector (Vector Database) MCP on Lovable AI Development MCP Client pgvector (Vector Database) MCP on Mistral AI Agents MCP Compatible pgvector (Vector Database) MCP on Amazon AWS Bedrock MCP Support

Just plug in your AI agents and start using Vinkius.

pgvector runs vector similarity searches and manages embedding tables right inside your existing PostgreSQL database. It lets you build complex AI retrieval pipelines without writing custom API endpoints or deploying new microservices.

Simply connect it to your agent, ask questions about your data structure, and watch the agent handle everything from creating HNSW indexes to running nearest-neighbor queries across millions of vectors.

What your AI agents can do

Create index

Builds performance indexes (like HNSW) on vector columns to speed up similarity searches dramatically.

Create table

Creates a new table specifically structured to hold high-dimensional embeddings and associated metadata.

Delete vector

Removes specific vector entries from a table when the source data is outdated or incorrect.

+ 3 more capabilities included
Run similarity searches

Use search_vectors to perform nearest-neighbor queries across large sets of embeddings using specific distance metrics.

Define vector structures

Call create_table to set up new tables specifically designed to hold high-dimensional vector data and associated metadata.

Insert and manage vectors

Use insert_vector or delete_vector to programmatically add, modify, or remove individual vector entries from existing tables.

List available schemas

Run list_tables to get a clear overview of all tables in the database that contain vector columns.

Optimize query speed

Execute create_index to build performance indexes (HNSW or IVFFlat) on your vector columns, making searches much faster.

Supported MCP Clients

OAuth 2.0 Compatible
Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
Vinkius runs on Zendesk Zendesk
+ other MCP clients
Included with Plan

Waiting for input…

AI Agent

pgvector (Vector Database) MCP Server: 6 Tools for Indexing & Search

These six tools let your agent manage every aspect of vector data, from creating optimized indexes to running complex similarity searches in your PostgreSQL database.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using pgvector (Vector Database) on Vinkius
create019d75f2

create index

Builds performance indexes (like HNSW) on vector columns to speed up similarity searches dramatically.

create019d75f2

create table

Creates a new table specifically structured to hold high-dimensional embeddings and associated metadata.

delete019d75f2

delete vector

Removes specific vector entries from a table when the source data is outdated or incorrect.

insert019d75f2

insert vector

Adds new vectors and their corresponding metadata into an existing embedding table.

list019d75f2

list tables

Shows all tables in the database that currently contain vector columns, helping you map out your data sources.

search019d75f2

search vectors

Runs a nearest-neighbor query to find vectors most similar to a given search query or embedding.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with pgvector (Vector Database), then connect any of our 4,900+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 4,900+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
pgvector MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by pgvector. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This server provides 6 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.

Retrieval-Augmented Generation shouldn't require a separate database stack.

Right now, building an RAG system means adding a dedicated vector store (Pinecone, Weaviate, etc.). You have to manage connection credentials for that new service, write custom API endpoints to talk between Postgres and the vector store, and pay for another infrastructure component just to run searches.

With this MCP server, you keep your vectors right in PostgreSQL. The AI agent talks directly to your database, calling `search_vectors` with zero external dependencies. You get a complete pipeline—from storage to search result—all within the chat interface.

pgvector MCP Server: Index Vectors & Similarity Search

The manual steps that disappear are writing boilerplate connection code for an external vector service. You skip deploying a whole new microservice, managing authentication secrets for a second database, and rewriting the core search logic just because you needed semantic context.

What's different now is simplicity. Your entire knowledge retrieval system lives in one place. The agent manages the index optimization (`create_index`) and the query execution (`search_vectors`), leaving your stack cleaner than ever.

What you can do with this MCP connector

Look, you're building complex AI retrieval pipelines, and you don't wanna write custom API endpoints or deploy a whole bunch of new microservices just to run vector searches. This pgvector setup lets your agent handle the heavy lifting right inside your existing PostgreSQL database. You connect it once, and suddenly you can ask questions about your data structure, and your agent manages everything from building indexes to running nearest-neighbor queries across millions of embeddings.

If you need to know what vector data lives in your system, run list_tables. This tool shows every single table in the database that has a dedicated vector column, giving you a clear overview of all your current knowledge sources. If none of those tables are set up right, call create_table.

That sets up a brand new table specifically structured to hold high-dimensional embeddings and any associated metadata you need. Think of it as building the perfect digital filing cabinet for your data.

Once the structure's ready, you gotta get data in there. Use insert_vector to programmatically add new vectors along with their corresponding descriptive metadata into an existing embedding table. If a source document changes or gets archived, don't leave old junk lying around—you can use delete_vector to remove specific vector entries when the original source data is outdated or incorrect.

The main event is finding stuff. When you need to find vectors most similar to a query—say, a user prompt or another embedding—run search_vectors. This tool performs a nearest-neighbor query, letting you use specific distance metrics like cosine, L2, or inner product against massive sets of data. But running those searches across millions of vectors without killing your performance? That's where optimization comes in.

If the search speed isn't fast enough, execute create_index. This builds highly efficient performance indexes—you can specify HNSW or IVFFlat—right on your vector columns. It dramatically speeds up those approximate nearest-neighbor (ANN) queries. You run this once, and suddenly searching feels instantaneous.

Your agent handles the entire workflow: it checks what tables exist, uses create_table if they don't, populates them with insert_vector, optimizes them with create_index, and then runs a lightning-fast search using search_vectors. You just ask your AI client to find information based on context, and the agent handles all the database commands required.

Built · Hosted · Managed by Vinkius pgvector MCP Server - Vector Database Search Tool Server ID 019d75f2-2b77-7282-a9a3-14c4895086b8
Vinkius Inspector
Compliance Grade A+
Score 100/100
Vinkius Inspector Badge — Score 100/100

Common Questions About pgvector MCP

How do I start using pgvector with search_vectors? +

You must first ensure your table exists and has vectors. Start by running list_tables to confirm, then use the agent to construct a query calling search_vectors against the target table.

Is pgvector MCP Server better than using an external vector database? +

It’s simpler. By keeping everything in Postgres, you cut out the latency and complexity of cross-database calls. You manage one connection string instead of two or three.

What is the difference between create_table and list_tables? +

list_tables shows you what's already there, like an inventory check. create_table builds a brand new container for vectors when you need to ingest data into a fresh source.

How often should I use create_index? +

Whenever your dataset grows substantially or if search performance degrades, run create_index. It turns slow linear scans into rapid approximate nearest-neighbor lookups.

What permissions are needed to successfully run `create_table`? +

You need full write access, specifically CREATE TABLE rights. While the agent handles the syntax, your underlying database user must have permissions to create schema objects and enable the pgvector extension first.

What happens if I use `insert_vector` with incorrect dimensions? +

The tool will immediately throw a dimension mismatch error. You must ensure that every vector you send via insert_vector matches the exact dimensionality of the target column defined in your table's schema.

Should I use `create_index` or rely on PostgreSQL for searching vectors? +

You must run create_index. Relying only on default database indexing causes performance to degrade dramatically as your dataset grows past a few thousand records. The index is what makes similarity search fast.

How can I verify if my tables are ready for high-volume searching before running `search_vectors`? +

First, use list_tables to check the schema and current index status. If your vector column doesn't show an active HNSW or IVFFlat index, run create_index immediately before attempting complex searches.

Does the agent connect directly to my database? +

Yes. Your connection string is encrypted at rest and injected into an isolated runtime. The agent connects directly to your PostgreSQL instance — no intermediate proxies, no data copies, no third-party storage.

What vector dimensions are supported? +

Any dimension supported by pgvector — from small 128-d vectors to large 3072-d embeddings (e.g., OpenAI text-embedding-3-large). Specify the dimension when creating a table and the agent handles the rest.

Which distance metrics can I use for similarity search? +

pgvector supports three operators: (L2/Euclidean distance), (cosine distance), and `` (negative inner product). The agent uses cosine distance by default, which works best for normalized embeddings like those from OpenAI.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for pgvector. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.