BRVM MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BRVM MCP Servershow me the top gainers on BRVM today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐จ๐ฎ BRVM MCP Server
The first MCP server for West Africa's regional stock exchange.
Connect any AI agent โ Claude, ChatGPT, Cursor, Copilot, LangGraph โ to live market data from the BRVM (Bourse Rรฉgionale des Valeurs Mobiliรจres), serving 8 UEMOA member states across West Africa.
Why?
The BRVM lists ~46 companies across Bรฉnin, Burkina Faso, Cรดte d'Ivoire, Guinรฉe-Bissau, Mali, Niger, Sรฉnรฉgal, and Togo โ with a combined market cap of ~$27.8B USD. Yet it has no public API. This server bridges that gap, making BRVM data accessible to the AI ecosystem via the Model Context Protocol.
What's coming on the BRVM
December 18, 2026: First derivatives market in francophone West Africa (futures on indices and stocks)
2026โ2027: ETF listings
2026: Agricultural commodities exchange (BMPA CI) โ cashew, maize, cola nut
This server is built to grow alongside these developments.
Features
Tools (7)
Tool | Description |
| Full trading session overview: volume, value, gainers/losers, indices |
| Current quote for a specific ticker (price, change, volume) |
| All BRVM indices: Composite, BRVM 30, Prestige, Principal, sectors |
| Top N gainers and losers of the day |
| Company details: name, country, sector, market cap |
| Search by name, country, or sector |
| All ~46 BRVM tickers with metadata |
Resources
URI | Description |
| BRVM exchange overview for context injection |
Prompts
Prompt | Description |
| Structured analysis of a BRVM stock |
| Full daily market report template |
Quick Start
Prerequisites
Python 3.11+
uv (recommended) or pip
Install & Run
# Clone
git clone https://github.com/dilanefk/brvm-mcp-server.git
cd brvm-mcp-server
# Install
uv sync
# Run (stdio โ for Claude Desktop / Cursor)
uv run brvm-mcp
# Run (HTTP โ for remote agents / web apps)
uv run brvm-mcp --transport streamable-http --port 8000Connect to Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"brvm": {
"command": "uv",
"args": ["run", "--directory", "/path/to/brvm-mcp-server", "brvm-mcp"]
}
}
}Restart Claude Desktop. You'll see the BRVM tools in the ๐จ menu.
Test with MCP Inspector
npx @modelcontextprotocol/inspector uv run brvm-mcpDocker (remote deployment)
docker build -t brvm-mcp .
docker run -p 8000:8000 brvm-mcpExample Conversations
Once connected, you can ask Claude:
"What's the BRVM market doing today?" โ Calls
get_market_summary(), returns full session data
"Show me Sonatel's stock price" โ Calls
get_stock_price("SNTS")
"Which BRVM stocks are from Sรฉnรฉgal?" โ Calls
search_stocks(country="Sรฉnรฉgal")
"Give me a full market report" โ Uses the
market_reportprompt to orchestrate multiple tool calls
"Which stocks dropped the most today?" โ Calls
get_top_movers(), focuses on losers
Architecture
โโโโโโโโโโโโโโโโโโโโ MCP (stdio/HTTP) โโโโโโโโโโโโโโโโโโโโ
โ AI Agent โโโโโโโโโโโโโโโโโโโโโโโโโโโบโ BRVM MCP Server โ
โ (Claude, GPT, โ โ โ
โ Cursor, etc.) โ โ FastMCP + Tools โ
โโโโโโโโโโโโโโโโโโโโ โ + Cache Layer โ
โโโโโโโโโโฌโโโโโโโโโโ
โ httpx
โโโโโโโโโโผโโโโโโโโโโ
โ Data Sources โ
โ โข afx.kwayisi โ
โ โข brvm.org โ
โ โข Rich Bourse โ
โโโโโโโโโโโโโโโโโโโโFastMCP: Decorator-based MCP framework (official Python SDK)
httpx: Async HTTP client for scraping
BeautifulSoup4 + lxml: HTML parsing
diskcache: TTL-based disk caching (5min default, respectful of sources)
Pydantic: Structured data models
Roadmap
v0.2 โ Historical price data (OHLCV bars)
v0.3 โ BRVM official announcements / corporate actions feed
v0.4 โ BMPA CI commodities data (when available)
v0.5 โ Derivatives data (futures, options โ post Dec 2026 launch)
v1.0 โ OAuth + rate limiting for multi-user deployment
Register on MCP Registry
Data Sources & Fair Use
This server scrapes publicly available data. It implements:
Caching (5min TTL) to minimize requests
Polite User-Agent header identifying the project
No authentication bypass โ only public data
For real-time FIX feeds, contact BRVM directly: brvm.org/real-time-data-feed
Contributing
PRs welcome! Priority areas:
Additional data sources (eodhd.com, Rich Bourse)
Historical data support
Tests (pytest + VCR cassettes for scraper tests)
TypeScript port for Node.js MCP hosts
License
MIT
Built with โ in Mauritius by Dilane Foguรฉ Kamga โ Senior Software & AI Engineer, Financial Engineering MSc (WorldQuant University).
Bridging AI and African capital markets.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dilane-Kamga/brvm-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server