text2sql
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
Open the source (opens github.com) https://github.com/cpenniman12/text2sql-mcp
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: ANTHROPIC_API_KEY, OPENAI_API_KEY. Use a key with the least access you can.
What it is
MCP servers from io.github.cpenniman12.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
pypi package (stdio)
text2sql-mcp@0.1.2
From the server's entry in the official MCP Registry
Settings it asks for
TEXT2SQL_DATABASE_URLrequired · SQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/dbANTHROPIC_API_KEYsecret · Anthropic API key (required if using the default Anthropic model)OPENAI_API_KEYsecret · 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)
Related
-
dati
MCP serversTurn your database into secure, semantically rich MCP tools for agents.
git clone https://github.com/yimindev/dati.git -
mnemiq
MCP serversOpen-source text-to-SQL engine you tune and measure on your own database
git clone https://github.com/agenticfabriq/mnemiq.git -
QueryWeaver
MCP serversAn MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.
docker.io/falkordb/queryweaver:0.0.11 -
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
Official MCP Registry
MCP serversThe MCP project's own registry of public MCP servers, so you can look for a connector before building one.