text2sql
Ask any SQL database in natural language.
Connector by cpenniman12 · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying text2sql?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/cpenniman12-text2sql-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 1 read · 0 write · 0 deleteRead-only
- Secrets
- 2 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 1
Read from the source code; the running server may list different tools.
Read 1 · Look things up without changing anything.
query
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
ANTHROPIC_API_KEYOPENAI_API_KEY
Other settings (environment variables or headers).
TEXT2SQL_DATABASE_URLTEXT2SQL_MODEL
Tools (1)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
queryAsk the database a natural-language question. The agent explores the schema, writes SQL, executes it, and self-corrects on errors before returning. Read-only — only SELECT-style statements. Args: question: The natural-language question, e.g. "top 5 customers by revenue". max_rows: Cap on rows returned in `data`. Defaults to 100. Returns: dict with: sql: the final verified SQL data: list of row dicts (capped at max_rows) error: error message if execution failed, else None row_count: number of rows in `data` tool_calls_made: how many SQL…
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 29
- Last commit
- Aug 2, 2026 (3 months ago)
- Last release
- Jun 28, 2026 (4 months ago)
- Last package publish
- Jun 28, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.cpenniman12/text2sql-mcp- Version
- 0.1.2
- Auth
- API key
- Packages
- pypi text2sql-mcp
- License
- MIT
- Repository
- github.com/cpenniman12/text2sql-mcp
- First seen
- Oct 24, 2026
- Last checked
- Nov 1, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get text2sql running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
text2sql MCP server. Agent Mart. https://agentmart.dev/connectors/cpenniman12-text2sql-mcp (last updated 2026-11-01)