maldives-gazette-mcp
This server provides read-only access to the official Maldives Government Gazette and Iulaan announcement systems, offering tools to search, browse, retrieve, and extract text from public records and attachments.
Status & Categories: Check live reachability (
gazette_status), list Gazette and Iulaan categories (gazette_categories,iulaan_categories), and translate English queries to Dhivehi for Iulaan searches (translate_iulaan_query).Search: Search Gazette records (
search_gazette) with filters like category, volume, issue, date range, or ID; search Iulaan announcements (search_iulaan) by type, job category, office, open status, and date ranges, with automatic English-to-Dhivehi query expansion.Retrieve Records: Fetch full details of a Gazette record (
get_gazette) or Iulaan posting (get_iulaan) using URL or ID, including structured data, visible text, PDF links (Gazette), employer details, print URL, and attachment links (Iulaan).Browse: Navigate public Gazette pages or paths (
browse_gazette) with optional result limits.Extract Text from Attachments: Read text from official Iulaan PDF or DOCX attachments (
read_iulaan_attachment) such as Terms of Reference or application forms.Read-only: All operations are read-only; the server never logs in, posts, or modifies the source site.
Click on "Deploy 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., "@maldives-gazette-mcp Search the gazette for regulations published this month"
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.
Maldives Gazette MCP
A portable, read-only Model Context Protocol server for the official Maldives Government Gazette:
It is agent-agnostic: every MCP-compatible client launches the same TypeScript/Node.js stdio server. No Python, virtualenv, account, cookie, API key, or hosted service is required.
What it exposes
Tool | Purpose |
| Check live reachability and HTTP status. |
| Read the newest Gazette and Iulaan cards shown on the official homepage. |
| Crawl bounded archive pages with filters, deduplication, page counts, and stop reasons. |
| List broad official research coverage. |
| Search Gazette and Iulaan together for broad public research. |
| Search legal and policy Gazette categories together. |
| Search general Iulaan notices and public-information records. |
| List decoded Gazette categories and URL values. |
| Read the live Gazette form and its fields. |
| Search by category, volume, issue, query, date range, and page. |
| Read a record with structured ID, title, publication date, volume, issue, PDF, links, and visible text. |
| Read the Gazette detail page; the public site has no separate Gazette print route. |
| Extract text from an official Gazette PDF. |
| Search terms inside an official Gazette PDF. |
| Browse a public Gazette path or page. |
| List decoded announcement and job-category values. |
| Read the live Iulaan form and its fields. |
| Show standard Dhivehi Thaana query variants. |
| Discover public office/issuer filter links. |
| Search by announcement type, job category, office, query, dates, open status, and page. |
| Browse a filtered Iulaan page with pagination. |
| Read full posting text, employer, print URL, and attachments. |
| Read the official Iulaan print view. |
| List official TOR/application documents. |
| Extract text from official PDF/DOCX attachments. |
| Search terms inside an official attachment. |
The server allowlists Gazette record pages, official Gazette Storage attachments, and official CSC /download/ attachments. It never logs in, posts, edits, contacts anyone, or changes the source site.
Related MCP server: mozaia-laws-mcp
Install
Node.js 20+ is required.
git clone https://github.com/Rayyan011/maldives-gazette-mcp.git
cd maldives-gazette-mcp
npm install
npm run buildThe portable MCP command is:
node /absolute/path/to/maldives-gazette-mcp/dist/server.jsVerify
Run the real Node MCP protocol test:
npm run test:protocolClient setup
All examples below use:
NODE:/absolute/path/to/nodeSERVER:/absolute/path/to/maldives-gazette-mcp/dist/server.js
Claude Code
claude mcp add maldives-gazette -- NODE SERVEROr project .mcp.json:
{
"mcpServers": {
"maldives-gazette": {
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/maldives-gazette-mcp/dist/server.js"]
}
}
}Codex CLI
codex mcp add maldives-gazette -- NODE SERVEROr add the equivalent stdio server to Codex's MCP configuration using the JSON shape shown above.
Cursor
Add this to Cursor's MCP settings or .cursor/mcp.json:
{
"mcpServers": {
"maldives-gazette": {
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/maldives-gazette-mcp/dist/server.js"]
}
}
}Claude Desktop
Add the same mcpServers entry to Claude Desktop's claude_desktop_config.json.
Gemini CLI
Register the same command as a local stdio MCP server in Gemini CLI's MCP settings. The server name should be maldives-gazette.
Windsurf
Add the same JSON entry to Windsurf's MCP configuration (mcp_config.json).
Cline / Roo Code
Use the MCP settings UI and add a stdio server:
Name:
maldives-gazetteCommand:
NODEArguments:
SERVER
VS Code MCP
Add the equivalent mcp server entry in the workspace or user MCP configuration, using the same command and args.
Goose / Continue / other clients
Choose stdio/local MCP server and use:
command: NODE
args: SERVERThe MCP protocol is the compatibility layer; no client-specific code is inside this repository.
Hermes Agent
printf 'y\n' | hermes mcp add maldives-gazette \
--command NODE \
--connect-timeout 30 \
--args SERVER
hermes mcp test maldives-gazetteUsage examples
Read the homepage's newest official records:
Use latest_homepage_feed with source="all" and max_results=10.Crawl a bounded archive safely:
Use crawl_iulaan_archive with announcement_type="masakkaiy", from_page=1, max_pages=10, max_results=200.Search the latest regulations:
Use search_gazette with category="gavaaidhu" and max_results=10.Search by a record number or Dhivehi phrase:
Use search_gazette with query="66-އާރ/2026".Read one record:
Use get_gazette with url_or_id="7539".For legal or policy research, treat the linked official PDF as the authoritative document. A Gazette title alone does not establish current validity, repeal status, or legal effect.
Included skills
The repository also includes portable, agent-agnostic skills under skills/:
gazette-business-project-finding— discover, verify, and compare public tenders, bids, supplies, and project opportunities.gazette-government-job-finding— find, verify, and compare government job announcements from Iulaan.gazette-compensation-calculator— calculate transparent monthly salary estimates from fixed and attendance-based allowances.gazette-dhivehi-query-builder— turn English research requests into standard Dhivehi Thaana search variants.gazette-job-shortlist-ranking— rank job postings against a candidate's qualifications and preferences.gazette-deadline-monitor— re-check saved Iulaan postings and classify deadline risk.gazette-tor-evidence-extraction— download and read official TORs and application documents, including English TORs.gazette-mcp-client-setup— install and configure the TypeScript MCP in compatible clients.gazette-pdf-research— search and cite evidence inside official Gazette and Iulaan PDFs.gazette-filtered-search— use the website's live category, office, date, job, and open-status filters.
These are plain SKILL.md files and can be copied into Hermes, Claude Code, Codex, Cursor, or another agent's skill directory. They use the same MCP but remain separate workflows.
Repository guidance
See AGENTS.md for setup, safety boundaries, testing requirements, and contribution rules.
License
MIT
Available Tools
10 toolsbrowse_gazetteD
Browse a public Gazette path.
Inputs: path, max_results.
gazette_categoriesA
List Gazette categories.
Inputs: no named parameters.
gazette_statusB
Check public Gazette reachability.
Inputs: no named parameters.
get_gazetteC
Read one Gazette record.
Inputs: url_or_id.
get_iulaanB
Read one Iulaan posting and its attachment links.
Inputs: url_or_id (required).
iulaan_categoriesA
List Iulaan categories.
Inputs: no named parameters.
read_iulaan_attachmentC
Extract text from an official Iulaan PDF or DOCX attachment.
Inputs: url (required), max_chars.
search_gazetteC
Search public Gazette records.
Inputs: query, max_results.
search_iulaanA
Search public Iulaan announcements; English queries are expanded into Dhivehi variants.
Inputs: page, query, office, open_only, +3 more.
translate_iulaan_queryC
Show standard Dhivehi Thaana query variants for an English phrase.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool clearly targets either the Gazette or Iulaan domain with a distinct action (status, categories, search, get, etc.). No two tools appear to perform the same operation on the same resource, making misselection unlikely.
Tool names mix noun-verb and verb-noun patterns (e.g., gazette_categories vs search_gazette), and the prefix/suffix placement is inconsistent across the two domains. All names are readable and the verb is clear, but the convention is not uniform.
With 10 tools covering two related but distinct document types, the count is well-balanced for the server's purpose. Each tool serves a specific function and none feel redundant.
The tool set provides comprehensive read-only coverage: status checking, category listing, searching, fetching individual items, browsing, and reading attachments. Users can perform all necessary queries without notable gaps.
Maintenance
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
An MCP server for Georgian public data, read from the organizations that publish it.
Hosted MCP server for finding authoritative primary data sources and official portals.
Singapore Government Procurement MCP — GeBIZ tender awards (keyless).
Related MCP Servers
- AlicenseCqualityBmaintenanceMCP server for Kenya civic information — Kenya Gazette, government tenders, open data, parliament tracker, citizen feedback.589 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceMCP server for real-time access to Mozambican legislation, enabling search, status checks, article retrieval, historical versions, and citation resolution via the Mozaia platform.MIT
- AlicenseAqualityCmaintenanceAn MCP server for Singapore Statutes Online (SSO), the official portal for Singapore legislation. It browses, fetches, and cites Acts, with a verifiable citation on every response.452 PyPI4Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for Azerbaijan's official legal-acts database (e-qanun.az), enabling search, metadata retrieval, and full-text access to legislative and judicial documents.MIT