What is the text2sql MCP server?
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
How to install text2sql
Copy-paste configuration for popular MCP clients.
TEXT2SQL_DATABASE_URLrequiredSQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/db
ANTHROPIC_API_KEYsecretAnthropic API key (required if using the default Anthropic model)
OPENAI_API_KEYsecretOpenAI API key (required when TEXT2SQL_MODEL is set to an openai:* model)
TEXT2SQL_MODELOptional LangChain model id (default: anthropic:claude-sonnet-4-6)
Related MCP servers

io.github.cphoskins/cronometer
Access your Cronometer nutrition data—food logs, macros, fasting, and biometrics—directly from Claude and Cursor.

io.github.cprice70/amazonads-mcp
MCP server for Amazon Ads API - manage campaigns, keywords, bids, and performance reports

rag-rat
Repository intelligence, code graph, and source-anchored memories for coding agents.

cQnce MCP
Add human approval to AI agent workflows through cQnce authorization tools.

Search, manage, and monitor Elasticsearch/OpenSearch clusters directly from your AI assistant.

Orchestrator
Let one coding agent consult another—Claude Code, Codex, OpenCode, Copilot, or Antigravity—without leaving your terminal.