- Postgresql Analytics Mcp Server
Postgresql Analytics Mcp Server
The MCP PostgreSQL Analytics server provides advanced analytics capabilities for PostgreSQL databases, including smart schema exploration, query optimization, index suggestions, and natural language to SQL conversion. It is designed to enhance database performance and accessibility through AI-driven tools.
Overview
PostgreSQL Analytics MCP Server
PostgreSQL Analytics for AI Assistants
Go beyond basic SQL. This MCP server gives your AI assistant deep visibility into PostgreSQL databases: smart schema
exploration, query plan analysis with bottleneck annotations, index optimization suggestions, table health monitoring,
referential integrity auditing, and natural language to SQL generation.
Tools
- explore_schema — Structured schema tree: tables, columns, types, FKs, indexes, row counts, sizes
- analyze_query — EXPLAIN ANALYZE with human-readable bottleneck annotations (seq scans, disk spills, estimate mismatches)
- suggest_indexes — Analyze slow queries or entire databases, suggest optimal indexes with CREATE INDEX statements
- table_stats — Row counts, dead tuples, bloat %, vacuum/analyze history, cache hit ratios
- find_missing_fks — Detect
*_idcolumns without FK constraints, auto-generate ALTER TABLE suggestions - generate_query — Natural language to SQL using actual schema context, with optional execution
Installation
{
"mcpServers": {
"postgres": {
"command": "node",
"args": ["/path/to/mcp-postgres-analytics/dist/index.js"],
"env": {
"DATABASE_URL": "postgres://user:password@localhost:5432/mydb"
}
}
}
}
Use cases
- Understand a new database in one prompt — full schema with row counts and FK relationships
- Optimize slow queries with annotated EXPLAIN ANALYZE output
- Find missing foreign keys across an entire schema in seconds
License
MIT — full source on archimedes.market
---
Server Config
{
"mcpServers": {
"postgres": {
"command": "node",
"args": [
"/path/to/mcp-postgres-analytics/dist/index.js"
],
"env": {
"DATABASE_URL": "postgres://user:password@localhost:5432/mydb"
}
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
CursorThe AI Code Editor
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server