Africa Data Bank

v1.0.1
io.github.Africa-Data-Bank/africadb Checked 2 days ago Published 4 months ago

Trusted African data, provenance, citations, and catalog search for AI agents.

Values you need

VariableWhat it is
AFRICADB_API_TOKENrequired secret API key from a registered AfricaDB account. Free use is limited; paid plans raise quotas.
AFRICADB_API_URLoptional AfricaDB API base URL. Override only for a trusted self-hosted gateway. Default: https://api.africadb.com

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add africadb -e 'AFRICADB_API_TOKEN=<AFRICADB_API_TOKEN>' -- docker run -i --rm -e AFRICADB_API_TOKEN docker.io/jmatrixjnr/afridb-mcp-server:1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "africadb": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AFRICADB_API_TOKEN",
        "docker.io/jmatrixjnr/afridb-mcp-server:1.0.1"
      ],
      "command": "docker",
      "env": {
        "AFRICADB_API_TOKEN": "<AFRICADB_API_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "africadb": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AFRICADB_API_TOKEN",
        "docker.io/jmatrixjnr/afridb-mcp-server:1.0.1"
      ],
      "command": "docker",
      "env": {
        "AFRICADB_API_TOKEN": "<AFRICADB_API_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "AFRICADB_API_TOKEN",
      "id": "africadb-api-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "africadb": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AFRICADB_API_TOKEN",
        "docker.io/jmatrixjnr/afridb-mcp-server:1.0.1"
      ],
      "command": "docker",
      "env": {
        "AFRICADB_API_TOKEN": "${input:africadb-api-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.africadb]
command = "docker"
args = ["run", "-i", "--rm", "-e", "AFRICADB_API_TOKEN", "docker.io/jmatrixjnr/afridb-mcp-server:1.0.1"]
env = { "AFRICADB_API_TOKEN" = "<AFRICADB_API_TOKEN>" }

For AI agents

  1. Ask the user for: AFRICADB_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search_catalog, search_indicators, get_indicator, get_observations, get_provenance, get_citation, verify_run, get_account_access.
  5. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json