Morocco Open Data MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP server host | 0.0.0.0 |
| MCP_PORT | No | HTTP server port | 3000 |
| ACLED_API_KEY | No | ACLED API key (optional) | |
| MCP_TRANSPORT | No | Transport mode: stdio or http | auto |
| BAM_KEY_TBILLS | Yes | Bank Al-Maghrib API key for treasury bills | |
| CACHE_TTL_LONG | No | Long-term cache TTL (seconds) | 86400 |
| BAM_KEY_CHANGES | Yes | Bank Al-Maghrib API key for exchange rates | |
| CACHE_TTL_SHORT | No | Short-term cache TTL (seconds) | 300 |
| CACHE_TTL_DEFAULT | No | Default cache TTL (seconds) | 3600 |
| RATE_LIMIT_STRICT | No | Strict rate limit (req/min) | 10 |
| RATE_LIMIT_DEFAULT | No | Default rate limit (req/min) | 60 |
| WORLD_BANK_API_KEY | No | World Bank API key (optional) | |
| BAM_KEY_OBLIGATIONS | Yes | Bank Al-Maghrib API key for government obligations | |
| OPENWEATHER_API_KEY | No | OpenWeatherMap API key (optional) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_datasetsB | Search for datasets on Morocco's national open data portal (data.gov.ma). Supports Arabic, French, and English queries. |
| get_datasetB | Get detailed information about a specific dataset from data.gov.ma |
| list_organizationsB | List all organizations publishing data on data.gov.ma |
| search_by_tagB | Search datasets by tag on data.gov.ma |
| get_exchange_ratesB | Get current exchange rates from Bank Al-Maghrib (Morocco's central bank) |
| get_interest_ratesB | Get key interest rates and monetary policy rates from Bank Al-Maghrib |
| get_inflation_dataA | Get inflation and consumer price index data from Bank Al-Maghrib |
| get_money_supplyB | Get money supply aggregates (M1, M2, M3) from Bank Al-Maghrib |
| get_treasury_billsB | Get treasury bills auction results from Bank Al-Maghrib |
| get_world_bank_indicatorsB | Get World Bank development indicators for Morocco (GDP, population, poverty, etc.) |
| get_morocco_economic_summaryA | Get comprehensive economic summary for Morocco from World Bank (GDP, inflation, unemployment, trade, etc.) |
| get_stock_quotesB | Get stock quotes from Casablanca Stock Exchange (Bourse de Casablanca) |
| get_market_summaryA | Get today's market summary from Casablanca Stock Exchange (indices, top gainers/losers, volume) |
| get_market_indicesB | Get all market indices from Casablanca Stock Exchange (MASI, MASIX, etc.) |
| get_bond_quotesB | Get government and corporate bond quotes from Casablanca Stock Exchange |
| get_company_infoC | Get detailed company information from Casablanca Stock Exchange |
| get_morocco_regionsB | Get all administrative regions of Morocco with metadata |
| get_city_coordinatesB | Get coordinates and administrative info for Moroccan cities |
| search_citiesC | Search for Moroccan cities by name or region |
| get_prayer_timesB | Get Islamic prayer times for Moroccan cities (Fajr, Dhuhr, Asr, Maghrib, Isha) |
| get_weekly_prayer_timesA | Get prayer times for the next 7 days for a Moroccan city |
| get_next_prayerA | Get the next upcoming prayer time for a Moroccan city |
| list_prayer_citiesA | List all Moroccan cities available for prayer times |
| get_humanitarian_datasetsB | Search humanitarian datasets for Morocco from Humanitarian Data Exchange (HDX) |
| get_climate_dataB | Get climate and weather data for Morocco (temperature, precipitation, etc.) |
| get_environmental_indicatorsB | Get environmental indicators for Morocco (CO2 emissions, renewable energy, forest area) |
| search_knowledge_graphB | Search the Morocco knowledge graph for entities and relationships |
| get_data_sourcesA | Get list of all available data sources and their status |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kcbdev/morocco-open-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server