Install AgentSQL in Claude Code
claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp{
"mcpServers": {
"agentsql": {
"url": "https://demo.agentsql.cn/mcp"
}
}
}Frequently asked questions
What does the AgentSQL MCP server do?
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
Is the AgentSQL MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does AgentSQL run locally or remotely?
Remote. Hosted by the provider. You connect with a URL, nothing to install.
How do I add AgentSQL to Claude Code?
Run: claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp
More databases MCP servers
View allPowerbi Analyst
mbrummerstedt/powerbi-analyst-mcp
Query Power BI semantic models: browse workspaces, tables and measures, run DAX queries and page large results via local CSV.
weave
grunion-ai/weave
Connected tables, relations, workflows and markdown documents in one SQLite file, over MCP.
MCPg
devopam/MCPg
PostgreSQL catalog introspection, AST-validated query execution, index tuning, natural-language SQL, and pgvector, TimescaleDB and AGE integrations.
Local Memory
studiomeyer-io/local-memory-mcp
Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.
DB Connect
phatngoit/MCP-DB
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.
DataCharter
datacharter/datacharter
Local, contract-governed federation across files and databases (Postgres, Snowflake, BigQuery, DuckDB, Excel) with read-only guards and PII masking.