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. π
# CBN MCP Server π¦
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. π
**Built with mcp_server_dart** - A developer-friendly MCP framework for Dart with annotations and code generation that I created. πͺ
## Features β¨
### MCP Tools π οΈ
#### Circulars Tools π
- **getAllCirculars**: Fetch all CBN circulars with optional filtering by date range and category π
- **getCircularById**: Get a specific CBN circular by its ID π
- **searchCirculars**: Search CBN circulars by title or description keywords π
- **fetchCircularPdf**: Download and read PDF content of CBN circulars π
- **fetchCircularPdfById**: Download PDF content by circular ID π₯
- **getCircularPdfUrl**: Get the direct download URL for a CBN circular PDF by its ID π
- **getCircularsForLLMAnalysis**: Get recent CBN circulars with PDF URLs formatted for LLM analysis π€
#### Exchange Rates Tools π±
- **getAllExchangeRates**: Fetch all CBN exchange rates with optional filtering by date range and currency π±
- **getExchangeRateById**: Get a specific CBN exchange rate by its ID π
#### Financial Data Tools π
- **getAllFinancialData**: Fetch all CBN financial data with optional filtering by date range and financial metrics π
- **getFinancialDataById**: Get a specific CBN financial data by its ID π
### MCP Resources π
- **cbnApiStatus**: Current status and health of the CBN API connection π
- **serverInfo**: Information about this CBN MCP server βΉοΈ
- **availableCircularPdfs**: List of available circular PDFs with their URIs π
- **randomFact**: A random fact about the CBN π²
### MCP Prompts π¬
- **circularSummary**: Generate a summary prompt for CBN circulars analysis π
- **regulatoryAnalysis**: Generate prompts for regulatory compliance analysis of CBN circulars βοΈ
## Quick Start π
### Option 1: Download Pre-built B β¦