text2sql runs on your own machine — the client starts it, so there is no endpoint to ping. 83 installs a week from pypi. Last commit 2 Aug 2026.
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
Today is the operative word: we check text2sql every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add text2sql-mcp -- uvx text2sql-mcp
{
"mcpServers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.text2sql-mcp]
command = "uvx"
args = ["text2sql-mcp"]
{
"mcpServers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
TEXT2SQL_DATABASE_URL (SQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/db), ANTHROPIC_API_KEY (Anthropic API key (required if using the default Anthropic model)), OPENAI_API_KEY (OpenAI API key (required when TEXT2SQL_MODEL is set to an openai:* model)), TEXT2SQL_MODEL (Optional LangChain model id (default: anthropic:claude-sonnet-4-6)).
The author declared them in the registry entry; get the values from the project itself.
Design database schemas from natural language, validate SQL, generate migrations and types
Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.
Generate MCP servers from natural language, OpenAPI specs, or database schemas.
Convert natural language into validated Liquibase XML or SQL changesets. 19 tools, 12 databases.
Your Databricks Lakehouse in natural language: run SQL on your SQL warehouses, track long-running qu
Answers built from our own checks of this server.