loading…
Search for a command to run...
loading…
A comprehensive MCP server for PostgreSQL database interaction
A comprehensive MCP server for PostgreSQL database interaction
Un serveur MCP performant pour interagir avec PostgreSQL, doublé d'une bibliothèque TypeScript pour l'intelligence sémantique.
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
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.).
{
"mcpServers": {
"postgresql": {
"command": "overmind-postgres-mcp"
}
}
}
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-...
Si vous développez votre propre orchestrateur (comme le projet overmind-mcp), vous pouvez utiliser les services directement.
pnpm add overmind-postgres-mcp
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");
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",
});
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-...
{
"mcpServers": {
"postgresql": {
"command": "node",
"args": ["/chemin/vers/postgresql-mcp-server/dist/index.js"]
}
}
}
use_tool("manage_vectors", {
action: "create",
table: "knowledge_base",
dimensions: 4096,
});
use_tool("insert", {
table: "knowledge_base",
data: { content: "Guide d'installation..." },
generateEmbedding: true,
});
use_tool("search", {
query: "Comment installer ?",
table: "knowledge_base",
mode: "hybrid",
});
Le dossier migrations/ contient les scripts SQL nécessaires pour configurer l'extension pgvector et optimiser vos tables pour les recherches haute performance.
MIT
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-mcpYes, Overmind Postgres Mcp MCP is free — one-click install via Unyly at no cost.
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.
Self-hosted: the server runs locally on your machine via the install command above.
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.
pro tip
Just installed Overmind Postgres Mcp? Say to Claude: "remember why I installed Overmind Postgres Mcpand what I want to try" — it'll save into your Vault.
how this works →CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Review before useWill ask for:
OPEN_ROUTER_API_KEYPOSTGRES_PASSWORDPOSTGRES_URLAutomated heuristic from public metadata — not a security guarantee.