text2sql-mcp

cpenniman12/text2sql-mcp
★ 0 stars Python AI/LLM Updated today
MCP server for text2sql-framework. Ask any SQL database questions in natural language — works with Claude Desktop, Cursor, Goose, and any MCP-compatible assistant.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "text2sql-mcp": {
      "command": "uvx",
      "args": [
        "text2sql-mcp"
      ]
    }
  }
}

Or install with pip: pip install text2sql-mcp

README Excerpt

MCP server for [text2sql-framework](https://github.com/cpenniman12/text2sql-framework). Plugs into Claude Desktop, Cursor, Goose, or any other MCP-compatible assistant and lets it ask a SQL database questions in natural language. The agent explores the schema, writes SQL, executes it against the real DB, and self-corrects on errors — no RAG layer, no schema descriptions, no pre-computed embeddings.

Tools (5)

TEXT2SQL_DATABASE_URLTEXT2SQL_EXAMPLESTEXT2SQL_INSTRUCTIONSTEXT2SQL_MODELexecute_sql