SQL Agent
by github.com/Nachodusan · v0.2.0 · updated Dec 5, 2026
Natural-language SQL that measures whether its answers are right, with a trace of every step
Run it locally
Install the package and point your AI client at it.
PyPI
uvx sql-agent-mcp==0.2.0Environment variables
SQL_AGENT_DSNrequiredsecretDatabase connection string: sqlite:///./shop.db or postgresql://user:password@host:5432/db. Use a role that only has SELECT.
OPENAI_API_KEYsecretAPI key for the model behind the ask and evaluate tools. list_tables, describe_table and run_sql need no key.
OPENAI_BASE_URLAny OpenAI-compatible endpoint, for example https://api.deepinfra.com/v1/openai. Defaults to OpenAI itself.
SQL_AGENT_MODELModel id to use, for example deepseek-ai/DeepSeek-V3.
More MCP servers
PyPIMap
github.com/NaelAqel
PyPIMap hosted MCP: package search, Depends on / Used by, importance score.
Got a Plan Trip Planner
github.com/Nemphis7
Trip planner for Claude: where to go for your free days, flight deals, routes and local favourites.
ChatGPT Search API
github.com/Nero-Engine
ChatGPT answers with cited sources in bulk via OpenAI's API web search, plus brand and change checks
Food Business Pack
github.com/Nero-Engine
Live UK food hygiene rating, premises and company checks, menu GP pricing and catering quotes
Gemini API Answers
github.com/Nero-Engine
Gemini answers with cited sources in bulk via Google's Gemini API and Google Search, real page links
Landlord Compliance Pack
github.com/Nero-Engine
UK landlord compliance: live EPC and property checks, gas and EICR dates, Renters' Rights Act rules