mcpbeat Sign in

text2sql MCP Server

by cpenniman12 Your server? Claim it
local only

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.

Installs per day peak 21 · avg 10 · +6% w/w
a month agotoday
83
Installs / week
pypi · text2sql-mcp
1
Stars
0 open issues
2 Aug 2026
Last commit
0 releases in 90 days
MIT
License
Python

Nothing serious here today

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add text2sql-mcp -- uvx text2sql-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "text2sql-mcp": {
      "args": [
        "text2sql-mcp"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.text2sql-mcp]
command = "uvx"
args = ["text2sql-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "text2sql-mcp": {
      "args": [
        "text2sql-mcp"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "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.

Alternatives to text2sql

same job, measured the same way
I
MCP Schema Designer
by vpatser1

Design database schemas from natural language, validate SQL, generate migrations and types

28 installs/wk local only
Schemacrawler AI
by schemacrawler

Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast

local only
MCP Database Server
by souhar-dya

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

local only
Dot - AI Data Analyst
by zurferr

Ask data questions in natural language. Get SQL, insights, and charts from your databases.

answering
QueryWeaver
by falkordb

An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.

local only
MCP Tool Factory
by heshamfs

Generate MCP servers from natural language, OpenAPI specs, or database schemas.

63 installs/wk local only
Liquibase Changelog MCP Server
by liquibase

Convert natural language into validated Liquibase XML or SQL changesets. 19 tools, 12 databases.

local only
Databricks
by mcp-dir

Your Databricks Lakehouse in natural language: run SQL on your SQL warehouses, track long-running qu

17 tools answering

text2sql — questions

Answers built from our own checks of this server.

Why is there no uptime for text2sql?
text2sql runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package text2sql-mcp was installed 83 times last week.
How do I connect text2sql?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls text2sql-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use text2sql?
The pypi package text2sql-mcp was installed 83 times in the last week. Week over week that is +6%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is text2sql open source?
Yes — it is published under the MIT licence, written in Python and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.