AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Data Processing/
morocco-communes
morocco-communes logo

morocco-communes

Active·★ 50·MIT·Updated 2026-10-21

This project offers an open dataset and a robust HTTP API for Morocco's administrative divisions, including detailed census figures and OpenStreetMap boundaries. It provides data for 12 regions, 75 provinces, 1,503 communes, and more, available through pre-rendered, alias, and computed API tiers, as well as npm and PyPI packages.

#Data Processing#HTTP API#Geographic Data#Census Data#Open Data#Node.js#Python#Frontend Development
$ Install
$ pnpm install && pnpm dataset:build && pnpm build
↗ Visit site★ GitHub
01

Features

01Comprehensive dataset of Morocco's administrative divisions with HCP codes, names (French/Arabic), population, and census indicators.
02Multi-tiered HTTP API (Pre-rendered, Alias, Computed) for flexible data access, including search, geospatial queries, and sorted lists.
03OpenAPI 3.1 specification and MCP server for direct integration with programs and LLM agents.
04Available as npm and PyPI packages for developers and data analysts, providing the dataset in different formats.
05Interactive docs site with maps, charts, and detailed information for each administrative unit.
02

Compatibility

Node.js
Runtime
Verified via docs
Python
Library
Verified via docs
Cloudflare Pages
Deployment
Verified via docs
Cloudflare Workers
Deployment
Verified via docs
LLM Agents
Integration
Verified via docs
OpenAPI
API Spec
Verified via docs
03

Quick start

1
$ pnpm install
2
$ pnpm dataset:build
3
$ pnpm build
04

Use cases

↳Developing web applications that require accurate and up-to-date administrative division data for Morocco.
↳Data analysis and research on demographic, economic, and geographic trends within Morocco.
↳Integrating with AI agents or LLMs for natural language queries about Moroccan geography and census data.
↳Building custom forms or components that allow users to select Moroccan administrative units.
↳Educational purposes, providing a rich dataset and visualization tool for studying Morocco's regional structure.
05

Alternatives

⚡Top VS:
VSwisp-science★1.1k→VSdatagouv-mcp★1.6k→VSru-marketplace-mcp★162→VSbibverify★98→
wisp-science logo
wisp-science★ 1.1k
Open-source, local-first desktop AI research workbench for scientific computing with Python/R, MCP bioinformatics tools, SSH/WSL/GPU runtimes, and OpenAI/Anthropic models.
VSCompare→
datagouv-mcp logo
datagouv-mcp★ 1.6k
Official data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
VSCompare→
ru-marketplace-mcp logo
ru-marketplace-mcp★ 162
MCP-серверы для российских маркетплейсов: Wildberries, Ozon, Яндекс Маркет, Детский мир, Авито, Мегамаркет, Lamoda, DNS, Ситилинк, Taobao и сравнение цен по всем сразу. Только чтение, ключи не нужны.
VSCompare→
bibverify logo
bibverify★ 98
Cross-platform BibTeX verification for researchers and AI assistants — CLI, Python API, MCP server, and explainable multi-source matching.
VSCompare→
calibremcp logo
calibremcp★ 48
FastMCP 3.2 server for Calibre e-book library management — AI-assisted search, RAG, and agentic workflows). MCP server for claude, cursor and other MCP clients. Webapp and tauri windows desktop app for use by humans.
VSCompare→
geodata logo
geodata★ 41
Lightweight open-source visualiser for India admin boundaries — pick a layer, view, download parquet
VSCompare→
property-shared logo
property-shared★ 18
UK property data MCP server — Land Registry comps, EPC, Rightmove, rental yields, stamp duty, Companies House. 13 tools.
VSCompare→
samsung-health-mcp logo
samsung-health-mcp★ 16
Unofficial local-first MCP server for Samsung Health personal-data CSV/ZIP exports.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
zkousama /
morocco-communes
↗

Morocco's 1,503 communes as open data: HCP codes, the 2024 and 2014 censuses, boundaries, an HTTP API and an MCP server.

50MIT
Last commit1w ago
StatusActive
CategoryData Processing
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.