Overmind Postgres Mcp
FreeMaintainedA comprehensive MCP server for PostgreSQL database interaction
About
A comprehensive MCP server for PostgreSQL database interaction
README
Un serveur MCP performant pour interagir avec PostgreSQL, doublé d'une bibliothèque TypeScript pour l'intelligence sémantique.
- 🧠 Mémoire Haute-Performance (4096D) : Système RAG intégré via PostgreSQL + pgvector supportant les embeddings SOTA (Qwen 8B).
- 🛡️ Mémoire Ségréguée : Chaque agent peut posséder ses propres souvenirs isolés tout en ayant accès au socle de connaissances global.
- 🤖 Navigation Autonome : L'agent interagit naturellement avec la base de données via le modèle d'embedding par défaut, sans avoir besoin d'écrire des requêtes SQL complexes (sauf cas spécifique).
📦 Installation
Installez le serveur MCP PostgreSQL via npm ou pnpm :
# Via npm
npm install -g overmind-postgres-mcp
# Via pnpm (recommandé)
pnpm add -g overmind-postgres-mcp
🚀 Démarrage Rapide (Usage MCP)
La façon la plus simple d'utiliser ce serveur est de le configurer comme un serveur MCP dans votre client préféré (Claude_code, Antigravity, etc.).
1. Configuration (.mcp.json)
{
"mcpServers": {
"postgresql": {
"command": "overmind-postgres-mcp"
}
}
}
2. Variables d'Environnement (.env)
Le serveur charge automatiquement les fichiers .env pour sécuriser vos accès :
POSTGRES_URL=postgresql://user:pass@localhost:5432/db
OPEN_ROUTER_API_KEY=sk-or-v1-...
📚 Usage Avancé (Bibliothèque TypeScript)
Si vous développez votre propre orchestrateur (comme le projet overmind-mcp), vous pouvez utiliser les services directement.
Installation
pnpm add overmind-postgres-mcp
1. Embeddings (Intelligence Sémantique)
Générez des vecteurs haute qualité compatibles avec vos tables PostgreSQL.
import { embedText } from "overmind-postgres-mcp/services/embeddings";
const { embedding, model } = await embedText("Votre texte ici");
2. Recherche Hybride
Exploitez la puissance de la recherche hybride native.
import { IntelligentSearchService } from "overmind-postgres-mcp/services/search";
const searchService = new IntelligentSearchService();
const results = await searchService.hybridSearch({
query: "Comment configurer le serveur ?",
table: "documents",
});
Zero-Config (.env)
Il est recommandé d'utiliser un fichier .env pour éviter d'exposer vos secrets dans les fichiers de configuration des hôtes (ex: Claude Desktop). Le serveur charge automatiquement les fichiers .env à sa racine ou dans le dossier d'exécution.
POSTGRES_HOST=localhost
POSTGRES_USER=postgres
POSTGRES_PASSWORD=votre_mot_de_passe
POSTGRES_DATABASE=votre_db
OPEN_ROUTER_API_KEY=sk-or-v1-...
Configuration Serveur MCP (.mcp.json)
{
"mcpServers": {
"postgresql": {
"command": "node",
"args": ["/chemin/vers/postgresql-mcp-server/dist/index.js"]
}
}
}
💡 Exemples d'Usage (Agent)
1. Préparer une table pour Qwen (4096 dimensions)
use_tool("manage_vectors", {
action: "create",
table: "knowledge_base",
dimensions: 4096,
});
2. Insertion avec Auto-Embedding
use_tool("insert", {
table: "knowledge_base",
data: { content: "Guide d'installation..." },
generateEmbedding: true,
});
3. Recherche Hybride (RAG)
use_tool("search", {
query: "Comment installer ?",
table: "knowledge_base",
mode: "hybrid",
});
🗄️ Migrations
Le dossier migrations/ contient les scripts SQL nécessaires pour configurer l'extension pgvector et optimiser vos tables pour les recherches haute performance.
📄 Licence
MIT
Install Overmind Postgres Mcp in Claude Desktop, Claude Code & Cursor
unyly install overmind-postgres-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add overmind-postgres-mcp --env OPEN_ROUTER_API_KEY="" --env POSTGRES_DATABASE="" --env POSTGRES_HOST="" --env POSTGRES_PASSWORD="" --env POSTGRES_URL="" --env POSTGRES_USER="" -- npx -y overmind-postgres-mcpStep-by-step: how to install Overmind Postgres Mcp
FAQ
Is Overmind Postgres Mcp MCP free?
Yes, Overmind Postgres Mcp MCP is free — one-click install via Unyly at no cost.
Does Overmind Postgres Mcp need an API key?
Yes, it requires environment variables: OPEN_ROUTER_API_KEY, POSTGRES_DATABASE, POSTGRES_HOST, POSTGRES_PASSWORD, POSTGRES_URL, POSTGRES_USER. Unyly injects them into the config during install.
Is Overmind Postgres Mcp hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Overmind Postgres Mcp in Claude Desktop, Claude Code or Cursor?
Open Overmind Postgres Mcp on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
- New version published
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare Overmind Postgres Mcp with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
