Official Gazette of Iran MCP Server
Read-only Official Gazette of Iran (rrk.ir): search laws and rulings, read their text.
Official Gazette of Iran scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 5 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sepehr071-rrk-mcp": { "command": "uvx", "args": [ "rrk-mcp" ], "env": { "RRK_MCP_PROXY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
RRK_MCP_PROXY | Optional | Optional HTTP proxy URL for the rrk.ir requests; system proxy settings are ignored. |
Tools5Tool docs quality grade B
All capabilitiesList the licensed currency exchange offices (location, phone, address; a field the portal leaves empty is null) by province and city
rk_latest_lawstoolList the newest laws, rulings and regulations in the Official Gazette, newest first
rk_law_filterstoolList the law groups (categories) and approving authorities to filter by
rk_law_texttoolRead one law's approver, gazette number and date, and full text (long texts in parts)
rk_search_lawstoolSearch laws by title words, full-text words, law group, approver, special issue number or Jalali gazette date range
About
rrk-mcp: Official Gazette of Iran (روزنامه رسمی) laws and rulings MCP server for AI agents
rrk-mcp is an unofficial, read-only MCP server for the laws and regulations database of the Official Gazette of Iran (rrk.ir). Its 5 tools list the newest laws, search them by title, full text, group, approver, special issue number or gazette date, read the full text of a law, court ruling or regulation, and list the licensed exchange offices. No API key or account is needed.
For AI agents · Quick start · Tools · Limits · فارسی
For AI agents
- What: unofficial MCP server for rrk.ir, the Official Gazette: laws (قوانین), regulations (آییننامه، مصوبات), Court of Administrative Justice rulings (آرای دیوان عدالت اداری) and other texts published in the gazette since 1285 (2026 = 1405).
- Install:
uvx rrk-mcporclaude mcp add rrk -- uvx rrk-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
RRK_MCP_PROXY(HTTP proxy URL); system proxy settings are ignored. - Access: read-only; no confirmation is needed before calling any tool.
- Tools: 5, all prefixed
rk_. Typical sequence:rk_law_filters(optional) ->rk_search_laws->rk_law_text. - Use when: the user asks what the gazette published lately, wants a law or ruling by topic or date, or needs the text of one.
- Do not use when: the user wants company registration notices (founding, capital change, board change, liquidation). rrk.ir does not offer those in an open search, so this server cannot look companies up.
- Output: compact JSON, Persian text. Dates are Jalali (
1405/08/09).
Quick start
claude mcp add rrk -- uvx rrk-mcp
Any other client: run uvx rrk-mcp as a stdio MCP server ({"command": "uvx", "args": ["rrk-mcp"]}).
Tools
| Tool | What it does |
|---|---|
rk_latest_laws | List the newest laws, rulings and regulations in the Official Gazette, newest first |
rk_search_laws | Search laws by title words, full-text words, law group, approver, special issue number or Jalali gazette date range |
rk_law_filters | List the law groups (categories) and approving authorities to filter by |
rk_law_text | Read one law's approver, gazette number and date, and full text (long texts in parts) |
rk_exchange_offices | List the licensed currency exchange offices (location, phone, address; a field the portal leaves empty is null) by province and city |
All 5 tools are annotated readOnlyHint: true.
Limits
- Laws only. Company notices (آگهیهای ثبتی) sit behind rrk.ir's paid data service and login, so they are left out.
- The portal is slow (a full-text search can take 10 seconds) and shares one session; the server keeps one session and reuses it.
rk_law_textworks with any code, but a code the session has not listed is located by paging the list (10-60 s, and codes below about 10,000 may not be found). Majlis debates (group 64) have a title only; the debate text is a PDF behind login.- Gazette PDFs and the shop need login or payment, and are left out.
- Persian ی and ک are converted to the Arabic ي and ك the portal stores; you can type either.
Development
uv sync
uv run ruff check . && uv run ruff format --check .
uv run python -m pytest -q
uv run python -m pytest -m live -q
فارسی
rrk-mcp یک سرور MCP غیررسمی و فقطخواندنی برای پایگاه قوانین و مقررات روزنامه رسمی (rrk.ir) است: فهرست جدیدترین قوانین، جستجو بر اساس عنوان، متن، شماره ویژهنامه و تاریخ روزنامه، فیلتر بر اساس گروه قوانین و مرجع تصویب، خواندن متن کامل قانون یا رأی، و فهرست صرافیهای مجاز بانک مرکزی. جستجوی آگهیهای ثبتی شرکتها در سایت بهصورت باز وجود ندارد و پشتیبانی نمیشود.
Made by Sepehr Radmard (سپهر رادمرد) · github.com/sepehr071 · linkedin.com/in/sepehr-radmard
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیتهاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخههای پیش از 0.2.1 با مجوز MIT منتشر شدهاند و همان مجوز را دارند.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.2.1 were released under MIT and stay under it.
Frequently asked questions
What is Official Gazette of Iran MCP Server?
Read-only Official Gazette of Iran (rrk.ir): search laws and rulings, read their text.
How do I install Official Gazette of Iran MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Official Gazette of Iran MCP Server runs locally from the PyPI package rrk-mcp with the command uvx rrk-mcp.
Is Official Gazette of Iran MCP Server free and open source?
Yes. Official Gazette of Iran MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Official Gazette of Iran MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Official Gazette of Iran MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Official Gazette of Iran MCP Server provide?
Official Gazette of Iran MCP Server provides 5 tools, including rk_exchange_offices, rk_latest_laws, rk_law_filters, and rk_law_text. See the full tool list for descriptions and parameters.
How is Official Gazette of Iran MCP Server's trust score calculated?
Official Gazette of Iran MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.