Read-only connector to data.gov.ma, Morocco's national open data portal (CKAN). Search datasets, browse resources, and discove r demographic, economic, telecom, and sector data for market research and feasibility studies. No authentication required against the upstre am API.
# data-gov-ma-connector
ISLI Skill — National Open Data Portal Connector for Morocco.
Read-only connector to data.gov.ma, Morocco's national open data portal, which runs on CKAN and exposes a public REST API at `/data/api/3/action/...`. This skill lets any ISLI agent search, browse, and discover Moroccan public datasets, organizations, groups, and downloadable resources without scraping.
## Why it exists
Rather than a standalone client skill, this is a **foundational data connector** meant to be consumed by market-research, feasibility-study, telecom, economic, or sector-analysis agents. It is especially useful for consultancies or investors evaluating Moroccan markets because it surfaces authoritative public data from ANRT, AMMC, Bank Al-Maghrib, and other Moroccan public bodies.
## Runtime model
Built for the ISLI Universal Skill Runtime v2.0:
- Dockerized HTTP microservice
- Exposes `GET /health` and `GET /.well-known/isli-manifest`
- Tool endpoints are `POST /{tool_name}` as declared in `isli-skill.yaml`
- Validates the `X-Internal-Auth` JWT against the `JWT_SECRET` injected by ISLI Core (can be disabled with `SKIP_AUTH=true` for local testing)
## Tools
| Tool | Description |
|------|-------------|
| `search_datasets` | Free-text + filtered search over datasets (with field projection & caching) |
| `get_dataset` | Full metadata for a dataset by name or id |
| `list_resources` | Downloadable resources for a dataset, uses a lightweight CKAN projection |
| `get_resource` | Metadata for a single CKAN resource |
| `search_resources` | Search across all downloadable resources |
| `search_by_organization` | Datasets published by a specific organization |
| `search_by_group` | Datasets within a thematic group/category |
| `list_organizations` | Publisher organizations |
| `list_groups` | Thematic groups/categories |
| `list_tags` | Dataset tags |
| `get_organization` | Full organization metadata |
| `get_group` | Full group metadata, optionally including datase …