text2sql
io.github.cpenniman12/text2sql-mcp · version 0.1.2
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Ask any SQL database in natural language. Agent explores schema, writes SQL, self-corrects.
https://github.com/cpenniman12/text2sql-mcpQuick facts
- Listing: Community
- Published Jun 28, 21:36 UTC
- Transport: stdio
- Package: pypi
text2sql-mcp0.1.2 - Listed by cosmic-mcp: Nov 9, 04:25 UTC
Details
- Repository: https://github.com/cpenniman12/text2sql-mcp
- PyPI: https://pypi.org/project/text2sql-mcp/
- Needs settings:
TEXT2SQL_DATABASE_URLANTHROPIC_API_KEYOPENAI_API_KEYTEXT2SQL_MODEL
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (pypi)
uvx 'text2sql-mcp==0.1.2'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp==0.1.2"
],
"command": "uvx",
"env": {
"ANTHROPIC_API_KEY": "<your anthropic api key>",
"OPENAI_API_KEY": "<your openai api key>",
"TEXT2SQL_DATABASE_URL": "<your text2sql database url>",
"TEXT2SQL_MODEL": "<your text2sql model>"
}
}
}
}Claude Code
claude mcp add 'text2sql-mcp' -- uvx 'text2sql-mcp==0.1.2'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp==0.1.2"
],
"command": "uvx",
"env": {
"ANTHROPIC_API_KEY": "<your anthropic api key>",
"OPENAI_API_KEY": "<your openai api key>",
"TEXT2SQL_DATABASE_URL": "<your text2sql database url>",
"TEXT2SQL_MODEL": "<your text2sql model>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"text2sql-mcp": {
"args": [
"text2sql-mcp==0.1.2"
],
"command": "uvx",
"env": {
"ANTHROPIC_API_KEY": "<your anthropic api key>",
"OPENAI_API_KEY": "<your openai api key>",
"TEXT2SQL_DATABASE_URL": "<your text2sql database url>",
"TEXT2SQL_MODEL": "<your text2sql model>"
},
"type": "stdio"
}
}
}Related servers
- spotdb Verified domain
Ephemeral data sandbox for AI workflows with guardrails and security - Aidoo for Odoo Verified domain
Query and update your Odoo ERP in plain language, under your own Odoo access rules. - Reasonbook Verified domain
Reasonbook: decisions that survive the session, in a local record AI agents keep. - 369 Meter — pay-per-call APIs for agents (x402)
Pay-per-call APIs for agents: text analysis, game facts, translation QA, hook scoring via x402. - 3ammiya — Egyptian Arabic Slang Dictionary
Community-driven Egyptian Arabic slang dictionary with Arabic and Franco-Arabic search and lookup. - AI COURSE Verified domain
Create structured courses, lessons, and educational images for any topic, level, and language.