T

text2sql

MCP server · by cpenniman12

Databases Python v0.1.2

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

View source ↗ More servers

Install

Run one of the commands below, then add the client config underneath.

Pythonuvx text2sql-mcp

Client configuration

Paste into Claude Desktop, Cursor (mcp.json), VS Code or any MCP client, then restart the client.

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

About this server

text2sql is listed in the Databases category of the MCPNav directory. It is distributed as Python and can be loaded by any client that speaks the Model Context Protocol.

Typical uses include giving your assistant scoped access to the corresponding service so it can answer questions and take actions with real data instead of guessing. Always review what a server can access before you enable it — see our MCP security guide.

Frequently asked questions

What is the text2sql MCP server?

text2sql is an MCP server by cpenniman12. Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.

How do I install text2sql?

Install it with: uvx text2sql-mcp. Then add the JSON config to your client's MCP settings and restart the client.

Is text2sql free to use?

The MCP server itself is free to install. The source is public on https://github.com/cpenniman12/text2sql-mcp. Any third-party API it calls (such as a search or maps API) may require its own key and billing.

Which clients support text2sql?

Any MCP-compatible client can use it, including Claude Desktop, Cursor, VS Code, Windsurf and custom agents.