Real-time PostgreSQL schema access for AI-IDEs via Model Context Protocol (MCP)
Schemaflow mcp server lets Claude, Cursor and other MCP clients work with Schemaflow directly. Real-time PostgreSQL schema access for AI-IDEs via Model Context Protocol (MCP).
SchemaFlow MCP Server provides your AI-IDE with live access to PostgreSQL and Supabase database schemas through the Model Context Protocol. Get real-time schema context for smarter code generation in tools like Cursor, Windsurf, and VS Code + Cline.
Once connected, the assistant can call these 3 tools directly:
get_schema — Retrieves complete database schema information including tables, columns, relationships, functions, triggers, enums, and indexes from PostgreSQL or Supabaseanalyze_database — Performs comprehensive database analysis including performance insights, security assessment, and structural recommendations for PostgreSQL and Supabasecheck_schema_alignment — Validates your PostgreSQL or Supabase schema against best practices and identifies potential issues with actionable recommendationsSetup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Schemaflow sits in that group, and the shape of its toolset — get_schema, analyze_database, check_schema_alignment — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| get_schema | Retrieves complete database schema information including tables, columns, relationships, functions, triggers, enums, and indexes from PostgreSQL or Supabase databases. |
| analyze_database | Performs comprehensive database analysis including performance insights, security assessment, and structural recommendations for PostgreSQL and Supabase databases. |
| check_schema_alignment | Validates your PostgreSQL or Supabase schema against best practices and identifies potential issues with actionable recommendations. |
{
"mcpServers": {
"schemaflow": {
"type": "sse",
"url": "https://api.schemaflow.dev/mcp/?token=your-token-here"
}
}
}Configuration as documented by the project. Restart the client after saving.
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.