Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
Text2sql is an MCP integration. Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
The published pypi package is text2sql-mcp, version 0.1.2. Its declared MCP transport is stdio.
The package declares TEXT2SQL_DATABASE_URL (required): 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).
Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.
View the publisher’s registry entry · Project repository. This profile uses version 0.1.2 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.
Browse related databases MCP servers for tools that cover the same kind of work.
| Variable | Description | Required |
|---|---|---|
| TEXT2SQL_DATABASE_URL | SQLAlchemy connection URL, e.g. sqlite:///mydb.db or postgresql://user:pass@host/db | Yes |
| ANTHROPIC_API_KEY | Anthropic API key (required if using the default Anthropic model) | Optional |
| OPENAI_API_KEY | OpenAI API key (required when TEXT2SQL_MODEL is set to an openai: model) | Optional |
| TEXT2SQL_MODEL | Optional LangChain model id (default: anthropic:claude-sonnet-4-6) | Optional |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.