Skip to main content
Glama
africa-fx-rates

africa-fx-rates

by wycord

Africa MCP β€” pan-African data for AI agents

A Braynex Services Ltd product. Author: Samuel Orie. License: MIT.

A neutral aggregation + normalization layer that exposes pan-African market data to AI agents (Claude, Cursor, custom agents) as clean MCP tools β€” behind one typed provider seam, each data source family its own server ("lane"). Sibling to nigeria-mcp, which stays Nigeria-only.

Status: 1 lane shipped (FX & Parallel Rates). npm run verify β†’ build + smoke, fully offline on mocks.

Lanes

#

Lane

Status

Tools

1

FX & Parallel Rates β€” official central-bank + parallel/street rates for 7 v1 African currencies, with cross-provider reconciliation and staleness reporting

🌐 shipped (mock-mode default; live scrapers/APIs opt-in)

7 tools β€” see lanes/fx-rates/README.md

v1 banks: Nigeria (CBN), Ghana (BoG), Kenya (CBK), South Africa (SARB), Tanzania (BoT), Rwanda (BNR), Egypt (CBE β€” scaffolded, TBD).

Related MCP server: latamfx-mcp

Quickstart

npm install
npm run build      # builds shared/ core first, then every lane (npm workspaces)
npm run verify     # build + all smokes β€” fully offline, zero signup, zero network

Every lane defaults to a mock provider with deterministic fixtures, so the whole repo runs with no signup. Live providers are opt-in via env (see .env.example).

Use the FX lane in Claude Desktop / Code

{
  "mcpServers": {
    "africa-fx-rates": {
      "command": "npx",
      "args": ["-y", "@braynexservices/africa-mcp-fx-rates"],
      "env": { "FX_PROVIDER": "live" }     // live central-bank sources, no key
    }
  }
}

Then ask: "What's the official CBN USD rate and the parallel rate for Nigeria today, and do they reconcile?"

Architecture

Path

What it is

shared/

Core MCP library β€” buildServer, normalized Zod schemas, the provider seam, lib/{errors,normalize,cache,fetch}.

lanes/<lane>/

One MCP server per data family β€” mock provider (default) + live adapter, tools, smoke test.

Tools never call a source directly β€” selecting a provider is one env var; adding a source is one file. The moat is maintained cross-provider reconciliation, not aggregation: every official rate is cross-checked against an independent second source, parallel rates are layered on top and never silently blended with official ones, and stale sources degrade to last-known-good with an explicit flag instead of erroring.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.
      4
      1,161 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to query public Latin American FX rates and perform auditable ledger reconciliation using a multi-rule matching engine.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI agents with tools to access Nigerian trade statistics, live FX rates, bank account resolution, and electricity meter validation data.
      2
      MIT