cbn_mcp
A Model Context Protocol (MCP) server for accessing Central Bank of Nigeria (CBN) data and circulars. Connect this server to Cursor, Claude Desktop, or any MCP-compatible application to access CBN regulatory information directly in your AI conversations. 🚀
claude mcp add --transport stdio zfinix-cbn_mcp /path/to/cbn_mcp
How to use
The CBN MCP Server provides programmatic access to Central Bank of Nigeria (CBN) data and circulars through the Model Context Protocol (MCP). It exposes tools organized by domain, including Circulars, Exchange Rates, and Financial Data, as well as helper resources and prompts to facilitate analysis in AI assistants. You can connect this server to Cursor, Claude Desktop, or any MCP-compatible application to query latest circulars, fetch PDFs, retrieve exchange rates, and obtain financial metrics, all via structured MCP endpoints. Typical workflows include asking for the latest circulars, retrieving details by ID, downloading PDFs for offline reading, or performing higher-level prompts for regulatory analysis and summaries. Tools are designed to be self-descriptive, with clear actions such as getAllCirculars, getCircularById, fetchCircularPdf, getAllExchangeRates, getFinancialDataById, and status/prompts endpoints for integrated AI experiences.
How to install
Prerequisites:
- Dart SDK ^3.9.2
- Git
Option A: Install and run a pre-built binary
- Download the latest pre-built binary cbn_mcp from the Releases page.
- Make it executable (on Unix-like systems): chmod +x cbn_mcp
- Run the server directly: ./cbn_mcp
Option B: Run from source with Dart
- Clone the repository: git clone https://github.com/chiziaruhoma/cbn_mcp.git
- Navigate into the project: cd cbn_mcp
- Install dependencies: dart pub get
- Run the server: dart run bin/main.dart
Option C: Build from source to a standalone executable
- Follow Option B steps 1-3
- Build: dart compile exe bin/main.dart -o cbn_mcp
- Run the executable: ./cbn_mcp
Additional notes
Tips and notes:
- The server exposes endpoints under the MCP framework; use the provided prompts and tool names to construct queries.
- If you’re using a pre-built binary, ensure the path in your MCP client configuration points to the executable and that it has execute permissions.
- When integrating with Claude Desktop or Cursor, the configuration should specify either the binary path or a Dart run configuration with the appropriate working directory (cwd).
- For Dart development, you may need to run dart pub get after cloning, and you can generate additional mappable classes with dart run build_runner build if your setup requires it.
- The API documentation references the Central Bank of Nigeria public API; consult the CBN Developer Portal for endpoint specifics and rate limits.
Related MCP Servers
mcp-searxng
MCP Server for SearXNG
mcp_flutter
MCP server and MCP Toolkit for Flutter and Dart VM - supports dynamic tooling
Financial-Modeling-Prep
A Model Context Protocol (MCP) implementation for Financial Modeling Prep, enabling AI assistants to access and analyze financial data, stock information, company fundamentals, and market insights.
mcp
🤖 Taskade MCP · Official MCP server and OpenAPI to MCP codegen. Build AI agent tools from any OpenAPI API and connect to Claude, Cursor, and more.
mcp -js
MCP server that exposes YepCode processes as callable tools for AI platforms. Securely connect AI assistants to your YepCode workflows, APIs, and automations.
symfony
A Symfony package designed for building secure servers based on the Model Context Protocol, utilizing Server-Sent Events (SSE) and/or StreamableHTTP for real-time communication. It offers a scalable tool system tailored for enterprise-grade applications.