Mellow Arabic Official Gazette MCP
Officialby mellow-data
README.md
<p align="center">
<img src="assets/logo.png" alt="Mellow Data logo" width="84" height="84">
</p>
<h1 align="center">Mellow Arabic Official Gazette MCP</h1>
<p align="center">
Bilingual Arabic and English official gazette search, regulatory alerts, and UTF-8 BOM CSV exports across Qatar and Egypt. Available over REST and Streamable HTTP MCP.
</p>
<p align="center">
<a href="https://mellow-data-portal.pages.dev">Mellow Data Portal</a> ·
<a href="https://mellow-arabic-gazette.seris-omarchakib.workers.dev/openapi.json">OpenAPI 3.1</a> ·
<a href="https://mellow-arabic-gazette.seris-omarchakib.workers.dev/.well-known/mcp/server-card.json">MCP Server Card</a> ·
<a href="https://mellow-arabic-gazette.seris-omarchakib.workers.dev/llms.txt">llms.txt</a>
</p>
---
## What Is Indexed
Tracking Arabic official gazettes normally means downloading scattered government portals and fixing broken RTL encoding in spreadsheets. This API indexes clean bilingual metadata in SQLite FTS5 on Cloudflare D1 and exports Excel-ready UTF-8 BOM CSV files.
- **240+ live decrees** (`200` from Qatar Al Meezan at `almeezan.qa` and `40` from Egypt Manshurat at `manshurat.org`), with UAE Federal (`uaelegislation.gov.ae`) and Amiria email feed hooks ready.
- **8 tagged sectors:** `labor`, `corporate`, `tax`, `real_estate`, `customs`, `finance`, `tech`, and `general`.
- **Excel-safe Arabic CSV:** `GET /v1/decrees/export.csv` includes a UTF-8 BOM header so Arabic text opens cleanly in Microsoft Excel without garbled characters.
- **Source attribution policy:** Serves structured bilingual metadata, summaries, and official primary portal deep links. Raw government PDFs are never mirrored.
---
## MCP Tools
All six tools run over Streamable HTTP (`POST` JSON-RPC 2.0) at `https://mellow-arabic-gazette.seris-omarchakib.workers.dev/mcp`.
| Tool | Auth | What It Does |
| --- | --- | --- |
| `search_arabic_decrees` | Free preview (5 rows) | Search decrees in Arabic or English by keyword, jurisdiction, sector, year, or publication date. |
| `get_decree_detail` | Free preview | Fetch the full bilingual metadata record and official primary portal link by `decree_id`. |
| `export_decrees_csv` | Free preview (5 rows) | Export matching decrees as a UTF-8 CSV table ready for Excel or compliance tracking. |
| `get_gazette_health` | Free | Check live decree counts by jurisdiction, sector, and source plus latest publication dates. |
| `list_alert_rules` | Paid API key | List saved regulatory alert rules configured under your API key. |
| `create_alert_rule` | Paid API key | Create a saved watch rule matching jurisdictions, sectors, or bilingual keywords. |
---
## Remote MCP Setup
No API key is required for 5-row preview searches. Pass a paid key in `X-API-Key` for full pagination and saved alert rules.
### Claude Desktop & Cursor
Add this entry to `claude_desktop_config.json` or `.cursor/mcp.json`:
```json
{
"mcpServers": {
"mellow-arabic-gazette": {
"type": "http",
"url": "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/mcp"
}
}
}
```
### VS Code
Add this entry to `.vscode/mcp.json`:
```json
{
"servers": {
"mellow-arabic-gazette": {
"type": "http",
"url": "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/mcp"
}
}
}
```
### Passing an Optional API Key
Include `X-API-Key` in `headers` for full pagination and alert rule management:
```json
{
"mcpServers": {
"mellow-arabic-gazette": {
"type": "http",
"url": "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
```
---
## REST Quickstart
Check live counts by jurisdiction and sector:
```bash
curl -s "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/v1/health"
```
Search Qatar tax decrees (free 5-row preview):
```bash
curl -s "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/v1/decrees?jurisdiction=QA§or=tax&limit=3"
```
Search recent Egypt decrees from Manshurat:
```bash
curl -s "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/v1/decrees?jurisdiction=EG&limit=3"
```
Download an Excel-ready UTF-8 BOM CSV sample:
```bash
curl -s "https://mellow-arabic-gazette.seris-omarchakib.workers.dev/v1/decrees/export.csv?jurisdiction=QA&limit=3" -o decrees.csv
```
---
## Related Mellow Data Servers
- **Mellow Data MCP (6 Public Datasets, 97,343 Rows):** [mellow-data/mellow-data-mcp](https://github.com/mellow-data/mellow-data-mcp)
- **Mellow Visual IP Watch MCP (UKIPO + WIPO Hague):** [mellow-data/mellow-ip-watch-mcp](https://github.com/mellow-data/mellow-ip-watch-mcp)
- **Live Portal:** [mellow-data-portal.pages.dev](https://mellow-data-portal.pages.dev)
- **Support:** `support@mellowdata.dev`
## License
MIT. See [LICENSE](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues