ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Qavanin

โดย sepehr071รุ่น 0.2.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.sepehr071/qavanin-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Unofficial read-only qavanin.ir: search Iranian laws and regulations, read full text and status.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: กฎหมายและข้อมูลภาครัฐ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "qavanin": {
      "command": "uvx",
      "args": [
        "qavanin-mcp"
      ],
      "env": {
        "QAVANIN_MCP_PROXY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add qavanin --env QAVANIN_MCP_PROXY='ใส่ค่าของคุณ' -- uvx qavanin-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "qavanin": {
      "command": "uvx",
      "args": [
        "qavanin-mcp"
      ],
      "env": {
        "QAVANIN_MCP_PROXY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "qavanin": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qavanin-mcp"
      ],
      "env": {
        "QAVANIN_MCP_PROXY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • QAVANIN_MCP_PROXY env
    Optional HTTP proxy URL, or a comma-separated list tried in turn, for qavanin.ir; system proxies are ignored.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub sepehr071 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด กฎหมายและข้อมูลภาครัฐi

  • ดาวมากกว่า 0% ของอีก 1745 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 97% ของอีก 1745 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1745 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Qavanin ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี USVI Public Records, Korean Government Documents (HWPX), Korea Tax Law

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

USVI Public Records

Search and read U.S. Virgin Islands public records: laws, court records, audits, hearings, reports.

โดย usvipublicrecords.comเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ usvipublicrecords.com

Korean Government Documents (HWPX)

Turns a draft into a Korean government report or press release as HWPX in each ministry's format

โดย UpstageAIยังใหม่มาก↓ 103/สัปดาห์อัปเดต วันนี้

รันบนเครื่อง

Korea Tax Law

Korea tax law: NTS rulings, court/tribunal decisions, basic rules, treaties, point-in-time statutes

โดย UpstageAIเริ่มต้น↓ 1.5K/สัปดาห์อัปเดต วันนี้

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

qavanin-mcp: Iranian laws and regulations MCP server for AI agents

Let your AI agent read Iranian law (قوانین و مقررات ایران).

An unofficial, read-only MCP server for qavanin.ir (سامانه ملی قوانین و مقررات جمهوری اسلامی ایران), the national database of Iranian laws, regulations, court votes and legal opinions.

Search about 168,000 documents by title or full text, read a law or a single article, see how an article was amended, and follow the regulations and court votes that cite it, all from Claude, Cursor or Copilot.

For AI agents · Why · What it can do · Quick start · Tools · How it works · Good to know · FAQ · Configuration · فارسی · Development · Related · Disclaimer · License


For AI agents

  • What: unofficial MCP server (model context protocol) for qavanin.ir, Iran's national laws and regulations database. Queries work in Persian (Arabic ي/ك and Persian ی/ک are equivalent); dates are Jalali YYYY/MM/DD.
  • Install: uvx qavanin-mcp or claude mcp add qavanin -- uvx qavanin-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional QAVANIN_MCP_PROXY (HTTP proxy URL, or a comma-separated list tried in turn); system proxy settings are ignored.
  • Access: read-only. No login, subscription or purchase calls exist, so no confirmation is needed before calling any tool.
  • Tools: 7, all prefixed qv_. Typical sequence: qv_search -> qv_law (with article) -> qv_amendments -> qv_article_history.
  • Units: dates are Jalali strings (1405/07/22); document ids (id, the site's IDS) are 20-digit strings, keep them as strings; text uses Persian ی/ک.
  • Use when: looking up what an Iranian law, regulation, court ruling or legal opinion says, when it was approved and published, whether it was amended or repealed, and what cites it.
  • Do not use when: the user needs legal advice or a binding interpretation. The site is a reference database; always say which version and status you read. Sections marked repealed or amended are not current text.
  • Machine-readable: server.json and the iran-mcp catalog (TOOLS.md, servers.json, llms.txt).

Why

Iranian legislation is spread over thousands of laws, by-laws, court votes and opinions, and a law's current text depends on later amendments. Answering "what does article 10 of the civil code say, was it ever amended, and which regulations cite it?" means a lot of searching on a slow, server-rendered site. With qavanin-mcp an agent does it in a few calls and returns only the relevant article instead of an 892 KB law.

You: ماده ۱۰ قانون مدنی چه می‌گوید؟

Agent: *calls* qv_search(query="قانون مدنی", kind="law") -> qv_law(ids=..., article="10")

It finds the civil code, reads just article 10 with its notes, and can follow up with qv_article_history to show whether that article was changed.

What it can do

  • Search about 168,000 laws, regulations, court votes and legal opinions by title or full text, with filters for kind, approving body, executor, subject, document type, status, dates and gazette numbers
  • Read a law as sections, a single article with its notes, or the text as of a past date
  • Check status: approval, notification and gazette numbers and dates, last status, executors
  • Trace amendments: which laws amended this one, which it amends, and every amendment of one article with its replacing text
  • Follow citations: regulations, court votes and legal opinions related to a law
  • Look up filter ids: approving bodies, executing bodies, subjects, document types, statuses and curated lists
  • Read-only by design: no login, no comments, no subscriptions, no purchases

Quick start

You need uv. No API key or account.

Claude Code

claude mcp add qavanin -- uvx qavanin-mcp

Claude Desktop

Settings → Developer → Edit Config, then add:

{

"mcpServers": { "qavanin": { "command": "uvx", "args": ["qavanin-mcp"] } } }

</details>

Cursor

Add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

{

"servers": { "qavanin": { "type": "stdio", "command": "uvx", "args": ["qavanin-mcp"] } } }

</details>

Codex CLI

codex mcp add qavanin -- uvx qavanin-mcp

Or in ~/.codex/config.toml:

[mcp_servers.qavanin]

command = "uvx" args = ["qavanin-mcp"]

</details>

Gemini CLI

Add to ~/.gemini/settings.json:

{

"mcpServers": { "qavanin": { "command": "uvx", "args": ["qavanin-mcp"] } } }

</details>

Windsurf

Add the Claude Desktop block to ~/.codeium/windsurf/mcp_config.json.

Anything else

It's a standard stdio MCP server: run uvx qavanin-mcp, or pip install qavanin-mcp and run qavanin-mcp.

Then just ask:

  • "What does article 10 of the Iranian civil code say?"
  • "Was article 1 of this law ever amended? Show the amendment history."
  • "Find the latest laws approved by the Majlis and list their gazette numbers."
  • "Which regulations and court votes are related to the Iranian Commercial Code?"
  • "Show the text of this law as it was on 1400/01/01."
  • ماده ۱۰ قانون مدنی چه می&zwnj;گوید؟
  • آیا ماده ۱ این قانون اصلاح شده است؟ تاریخچه اصلاحات را نشان بده.
  • آیین&zwnj;نامه&zwnj;ها و آرای مرتبط با قانون تجارت کدام&zwnj;اند؟

Tools

All tools return compact JSON. Document ids from qv_search go to the other tools; qv_lookup finds the ids that qv_search filters take.

ToolWhat it does
qv_searchSearch titles or full text, with filters for kind, approving body, executor, subject, type, status, dates and gazette numbers
qv_lookupFind the ids the search filters take: approving bodies, executing bodies, subjects, document types, statuses, curated lists
qv_lawRead the text of a law as sections, one article with its notes, or the text as of a past date
qv_law_infoMetadata: type, approver, approval, notification and gazette numbers and dates, last status, executors
qv_amendmentsWhich laws amended this one, which it amends, and which of its articles were amended
qv_article_historyEvery amendment of one article: type, date, amending law, replacing text
qv_relatedRegulations, court votes and legal opinions related to a law

All 7 tools are annotated readOnlyHint: true.

How it works

  AI agent  (Claude, Cursor, Copilot, ...)

│ │ MCP over stdio ▼ qavanin-mcp (runs on your machine) │ │ HTTPS └──────▶ qavanin.ir laws, regulations, court votes, opinions

qavanin-mcp runs locally and reads the same pages the qavanin.ir website serves (server-rendered HTML plus two small JSON lookups). There is no hosted server in between and no API key. The site's bot-check cookie is solved in Python, so no browser is needed.

Good to know

  • The site is slow: 1-15 s per call. The civil code takes about 15 s on first read; it is cached for 5 minutes, so paging through it is fast.
  • Dates are Jalali (1405/07/22), ids stay strings (20-digit), and text is normalised to Persian ی/ک. Placeholder dates such as 0000/00/00 are dropped.
  • Status matters: sections marked repealed or amended are not current text. Say which version and status you read.
  • Full-text search shows no snippet. With in_text it finds words inside the law text, so open candidates with qv_law(article=...).
  • The site sometimes ignores search filters and answers with the whole database; the server detects that and retries.
  • Sorting by date has ties, so paging a long list can repeat or skip a row: narrow the filters instead of paging deep.
  • Not covered: comments, subscriptions, purchases and any account feature. It is a research aid, not legal advice.

FAQ

Is there an MCP server or API for Iranian laws (qavanin.ir)?

Yes: qavanin-mcp is an unofficial MCP server with 7 read-only tools for searching and reading laws, regulations, court votes and legal opinions on qavanin.ir. It reads the same pages as the website; no API key is needed.

How do I use it with Claude, Cursor or Copilot?

Add the server with claude mcp add qavanin -- uvx qavanin-mcp (or the matching config in Quick start), then ask in plain language, in Persian or English.

Is it official, safe and free?

It is unofficial and not affiliated with qavanin.ir or the Iranian government. It is read-only, runs on your machine, and is free under the MIT license.

Is the text legally binding or up to date?

No. It shows what the site shows. Check each document's status and amendments (qv_law_info, qv_amendments) before relying on it, and consult a lawyer for legal advice.

Can I search with Arabic letters (ي/ك)?

Yes. The site stores Arabic ي/ك, and queries in either form match. Output is normalised to Persian ی/ک.

Why is it slow on the first read of a big law?

The site returns a whole law in one response (the civil code is about 892 KB). The server caches it for 5 minutes, so reading further articles is fast.

Can it log in, comment or subscribe?

No. It has no login and never calls comment, subscription or purchase endpoints.

I get a bot-check or connection error

The server solves qavanin.ir's cookie challenge itself. If your network still cannot reach the site, set QAVANIN_MCP_PROXY to an HTTP proxy that can. System proxy variables are ignored on purpose.

Claude Desktop says uvx is not found

Use the full path to uvx (where uvx on Windows, which uvx on macOS/Linux) as `

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx