Query any database in plain English or SQL through a guardrailed, read-only data layer.
Connect Runs on your machine
claude mcp add aifordatabase-mcp -e AFD_API_KEY=<AFD_API_KEY> -e AFD_API_BASE=<AFD_API_BASE> -- npx -y [email protected]
{
"mcpServers": {
"aifordatabase-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"AFD_API_KEY": "<AFD_API_KEY>",
"AFD_API_BASE": "<AFD_API_BASE>"
}
}
}
}
{
"mcpServers": {
"aifordatabase-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"AFD_API_KEY": "<AFD_API_KEY>",
"AFD_API_BASE": "<AFD_API_BASE>"
}
}
}
}
{
"servers": {
"aifordatabase-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"AFD_API_KEY": "<AFD_API_KEY>",
"AFD_API_BASE": "<AFD_API_BASE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
AFD_API_KEYRequired, secret | AI for Database API key (starts with afd_). Free at https://app.aifordatabase.com/signup |
AFD_API_BASEOptional | API base URL override (default https://app.aifordatabase.com/api/v1) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 7 Jul 2026 |
| Last updated | 7 Jul 2026 |
| Registry name | io.github.dann26parr69/aifordatabase-mcp |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
