DataClaw is a localhost-only server that connects Claude Code, Cursor, and other MCP clients to PostgreSQL or SQL Server — with per-agent keys, approved queries, and no public surface.
macOS · Linux · Windows/press Enter to copy
Four guarantees. Nothing hidden, nothing phoning home.
Binds to 127.0.0.1. Never exposed to the network. Your database credentials stay on your machine.
Exposes query, execute, list_queries, and execute_query through a streamable-http MCP endpoint.
Create named agents with individual API keys. Toggle raw query access. Scope to approved queries only.
Expose the SQL you trust. Agents run named queries with parameters — no raw statements required.
{
"mcpServers": {
"warehouse-analyst-123456": {
"url": "http://127.0.0.1:18790/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer ${DATACLAW_API_KEY}"
}
}
}
}