Skip to content
Verified official

text2sql MCP

v0.1.2

io.github.cpenniman12/text2sql-mcp

Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.

transport:stdio runtime:pypi

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add text2sql-mcp -e TEXT2SQL_DATABASE_URL=<TEXT2SQL_DATABASE_URL> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -e OPENAI_API_KEY=<OPENAI_API_KEY> -e TEXT2SQL_MODEL=<TEXT2SQL_MODEL> -- uvx text2sql-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.