Skip to contenttext2sql MCP Server — Install for Claude, Cursor & VS Code | MCPpediaTtext2sql MCP Server
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
45FairInstall
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"cpenniman12-text2sql-mcp": {
"command": "uvx",
"args": [
"text2sql-mcp"
],
"env": {
"TEXT2SQL_DATABASE_URL": "",
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY",
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
"TEXT2SQL_MODEL": ""
}
}
}
}
Related servers

MCP server for interacting with the Supabase platform
Environment
| Name | Required | Notes |
|---|
| TEXT2SQL_DATABASE_URL | Yes | SQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/db |
| ANTHROPIC_API_KEY | No | Anthropic API key (required if using the default Anthropic model) Secret. |
| OPENAI_API_KEY | No | OpenAI API key (required when TEXT2SQL_MODEL is set to an openai:* model) Secret. |
| TEXT2SQL_MODEL | No | Optional LangChain model id (default: anthropic:claude-sonnet-4-6) |
Tools show up when the registry metadata or the repository README lists them. GitHub enrichment fills this in when a token is configured.
About
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
FAQ
- What is text2sql?
- Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
- How do I install text2sql?
- Pick a client above and copy the generated config. Cursor and VS Code also have a deep link when the server can run locally or remotely.
- Is text2sql official?
- No. Registry-listed is not the same as vendor-official. Read the methodology for the difference.
- How is the trust score calculated?
- This listing scores 45 (Fair). The formula is published on the methodology page.
Reviews
0 published · no average
Sign in to review this server.
61
Good
SSH server management for agents, with per-server read-only and allowlist security modes

MCP Toolbox for Databases enables your agent to connect to your database.
ZAgent memory: working, episodic, semantic, procedural and core layers. Local SQLite, no account.
RNatural language interface designed for agentic applications to manage and search data in Redis.
HMake your agent's memory work like a brain. Hippo is long-term memory for coding agents.