چیستارا — Iranian Legal Corpus

ai.hoghoghPublished by hoghogh.aiOfficial publisherv1.1.0Updated Oct 29, 2026

Iranian statutes, rulings, opinions and legal calculators. Needs a paid Chistara connection link.

VerifiedStreamable HTTPWeb executableFinanceKnowledge & MemoryData & Analytics

Overview

AI-generated overview

Iranian legal corpus MCP server: search statutes, rulings and opinions, and run official legal fee, diyeh and inheritance calculators.

What you can do
  • Search and read Iranian statutes, fetching verbatim article text with source links
  • Search court rulings, binding precedent, advisory opinions and official circulars
  • Look up yearly official rates, sentencing ranges, limitation periods and procedural deadlines
  • Calculate diyeh, litigation, execution, arbitration, notary, lawyer, expert and judicial service fees
  • Calculate severance, mahrieh, inheritance shares, delay damages and several Iranian taxes
When to use it
Useful when answering questions about Iranian law, court practice or legal costs, where article numbers, amended wording and yearly rates must be exact rather than recalled. Suited to legal research, drafting support and cost estimates for Iranian cases.
Requirements
A remote endpoint at hoghogh.ai over streamable HTTP; no local install. Requires a paid Chistara account and a personal connection link, supplied as an Authorization bearer token or embedded in the connection URL. Network access is needed.
Before you install
Access is paid: each successful tool call is charged to the Chistara balance, so usage costs money. The Authorization token is a personal credential and should be kept private. Results are legal reference material with source links, not a substitute for a qualified lawyer.

Installation

In SourceWeft

  1. Open چیستارا — Iranian Legal Corpus in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.hoghogh%2Fchistara/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "iranian-legal-corpus": {
      "type": "http",
      "url": "https://hoghogh.ai/mcp"
    }
  }
}

Tools

23

search_law_articles

جست‌وجوی مواد قانونی — Search Iranian law articles

Semantic + keyword search across the full text of Iranian statutes (60,000+ articles: قانون مدنی، مجازات اسلامی، کار، تجارت، آیین دادرسی و…). USE THIS BEFORE ANSWERING ANY QUESTION ABOUT IRANIAN LAW — do not rely on memory; article numbers and wording are frequently misremembered, and amended articles are a common trap. Returns matching articles with their exact article number, law title, a text excerpt, and a source_url to the full article. Cite the article number and link the source_url.

Parameterslimitqueryrequiredlaw_filter

lookup_law_article

متن دقیق یک ماده — Look up one article verbatim

Fetch the VERBATIM text of a specific article when you already know the law and the article number (e.g. «ماده ۱۰ قانون مدنی»). Use this to verify wording before quoting it. Never paraphrase an article from memory — quote what this returns, and link the source_url. Also returns, when we hold them: `section_path` (the article's place in the law: کتاب/باب/فصل), `clauses` (its بند/جزء as labelled parts, so you can cite «بند ۲ ماده ۱۹۰»), `summary`/`summary_plain` (machine-written explanations — NOT statute text; never quote them as law), `keywords`, `topics`, `answers_in_text` (question → the exact slice of this article that answers it) and `related_articles` with their own source_urls.

Parameterslawrequiredpartarticle_numberrequired

search_case_law

جست‌وجوی آرای قضایی — Search Iranian court rulings

Search 31,000+ Iranian court rulings and آرای وحدت رویه (binding precedent). Use when the user asks how courts have actually decided an issue, or for precedent supporting a position. Returns excerpts with source_url.

Parameterslimitqueryrequired

search_circular

جست‌وجوی بخشنامه‌ها — Search official circulars

Search official circulars and directives (بخشنامه‌ها) from the judiciary and government bodies — the source of current official RATES and procedures. Returns excerpts with source_url.

Parameterslimitqueryrequired

calculate_diyeh

محاسبهٔ دیه — Calculate blood money (دیه)

Calculate دیه for a bodily injury using the CURRENT official rate and the fractions set by قانون مجازات اسلامی. ALWAYS use this instead of computing دیه yourself: the full-دیه rate changes every Persian year and the per-injury fractions are statutory. Returns the amount with the governing article and the official rate source.

Parametersyearcountgenderfractiondeath_dateinjury_typesacred_monthincident_date

calculate_litigation_fee

محاسبهٔ هزینهٔ دادرسی — Calculate court filing fees

Calculate Iranian court filing fees (هزینهٔ دادرسی) for a monetary claim at a given stage (بدوی / تجدیدنظر / فرجام), using the current official percentages. Use this instead of estimating — the rates are statutory and stage-dependent.

Parametersstagerequiredcase_typeclaim_amount_toman

calculate_severance

محاسبهٔ حق سنوات و مزایای پایان کار — Calculate end-of-service entitlements

Calculate an Iranian employee's end-of-service entitlements (حق سنوات، عیدی، مانده مرخصی) under قانون کار, using the current official minimum wage. Use this instead of computing by hand.

Parametersyearyearsmonthscontract_typelast_salary_tomanunused_leave_days

search_advisory_opinions

جست‌وجوی نظریات مشورتی — Search official advisory opinions

Search the advisory opinions (نظریات مشورتی) of the Judiciary's legal department (اداره کل حقوقی قوه قضائیه) — the official, citable interpretation of Iranian statutes. Use when the user asks how a provision is officially interpreted, or to support an argument. Advisory opinions are authoritative guidance, not binding law — say so when citing. Returns opinion number, date, and excerpt with source_url.

Parameterslimitqueryrequired

lookup_annual_rate

نرخ‌های رسمی سالانه — Look up official yearly rates

Fetch official Iranian yearly rates from the database: minimum wage (min_wage), court filing fees (court_fee_*), salary tax exemption (salary_tax_exemption_annual), daily severance (sanavat_daily). Delay damages and cash mahr come ONLY from calculate_delay_penalty / calculate_mahrieh — never from an index row of this table. حق‌الوکاله is NOT an annual rate — use calculate_lawyer_fee. ALWAYS use this instead of recalling a rate — yearly figures are exactly what models misremember. For دیه use calculate_diyeh instead. Read each row's `unit` field: «rials» means Rial and «درصد» means percent — never report a percentage as a Rial amount.

Parametersrate_typerequiredyear_jalali

lookup_sentencing_range

مجازات قانونی جرم — Look up statutory sentencing range

Look up the statutory punishment for an Iranian crime — imprisonment, fine, lashes, قصاص, دیه — with the governing article. Use when the user asks what the punishment for a crime is, or for criminal-risk analysis. Never state a sentencing range from memory.

Parameterscrime_typerequiredcrime_grade

lookup_statute_of_limitations

مرور زمان — Look up statute of limitations

Check Iranian limitation periods (مرور زمان) — prosecution, execution, and filing deadlines — for a case category. Use when the user asks whether a claim is time-barred or how long they have to file.

Parameterscrime_gradecase_categoryrequired

lookup_procedure

مهلت‌های دادرسی — Look up procedural deadlines

Look up Iranian procedural deadlines (مهلت تجدیدنظر، واخواهی، اعتراض ثالث، اجرای حکم…) with the governing law and article, by case type. Use when the user asks how long they have for a procedural step. Deadlines differ by case type — never answer from memory.

Parameterscase_typerequiredprocedure_name

calculate_mahrieh

محاسبهٔ مهریه به نرخ روز — Calculate mahrieh at today's value

Calculate the present-day value of a مهریه: coins at the live market rate, and any cash portion adjusted by the Central Bank index (تبصرهٔ مادهٔ ۱۰۸۲ قانون مدنی). Never guess coin prices or the adjustment index — this tool reads both from the database. If there is a cash portion, ask for marriage_year; without it the cash stays nominal and must not be called «ارزش روز».

Parameterscoinscoin_typecash_tomanmarriage_year

calculate_inheritance

محاسبهٔ سهم‌الارث — Calculate inheritance shares

Calculate Iranian inheritance shares (سهم‌الارث) of the spouse, parents and children under قانون مدنی arts. 861–949 (رد، نقص، the mother's حاجب), in exact fractions that always sum to the estate. Grandchildren and class-2/3 heirs (siblings, grandparents, uncles …) are refused with the governing articles, never estimated — do not compute those yourself.

Parametersson_counthas_fatherhas_motherhas_spousewife_countsister_countbrother_countsibling_countdaughter_countdeceased_genderrequiredtotal_assets_tomanrequired

calculate_delay_penalty

محاسبهٔ خسارت تأخیر تأدیه — Calculate late-payment damages

Calculate خسارت تأخیر تأدیه under art. 522 ق.آ.د.م and unification ruling 850: (CBI index of the payment MONTH ÷ index of the due MONTH) × principal, from the Central Bank's official monthly table. When that table is not loaded the tool answers with the limitation and the official link instead of a number — never approximate it. Dates are Jalali.

Parametersend_yearrequiredend_monthprincipalrequiredstart_yearrequiredstart_monthprincipal_unit

calculate_stamp_duty

محاسبهٔ حق‌الثبت — Calculate registration duty

Calculate حق‌الثبت, the STATE registration duty on a notarised document: 0.5% of the amount in a financial document (art. 123 of the Registration Act, as amended 1384), and the 1405 fixed amounts of art. 124 items (budget law 1405, table 16). Distinct from حق‌التحریر (the notary's own fee — use calculate_notary_fee). Marriage/divorce and company registration are refused (no official 1405 tariff / a separate capital ladder).

Parameterscountdoc_kindrequiredamount_toman

calculate_notary_fee

محاسبهٔ حق‌التحریر دفترخانه — Calculate notary fee

Calculate حق‌التحریر (the notary office's fee) from the official 1405 tariff for دفاتر اسناد رسمی. Distinct from حق‌الثبت (use calculate_stamp_duty for that). Never estimate the tariff.

Parametersdoc_typerequiredamount_tomanobligor_count

calculate_lawyer_fee

محاسبهٔ حق‌الوکاله — Calculate lawyer fee (bar tariff)

Calculate حق‌الوکاله from آیین‌نامهٔ تعرفهٔ حق‌الوکاله (1398/12/28): financial claims are a marginal ladder on the claim value (art. 9); family, non-financial, criminal and administrative matters are a min–max RANGE independent of value (arts. 13, 14, 20). `stage` is art. 21's share of the whole-case fee (60% first instance / 40% appeal). The tariff does not scale by winning or losing. Never guess a lawyer's statutory fee.

Parametersstagerequiredoutcomecase_typemembershipcriminal_gradecase_value_tomancontract_fee_tomanfinal_at_first_instance

calculate_execution_fee

محاسبهٔ نیم‌عشر اجرایی — Calculate judgment execution fee

Calculate نیم‌عشر اجرایی (the state execution fee on a civil judgment): 5% of the judgment sum (Civil Judgments Enforcement Act art. 158), half on settlement and none if complied with within ten days of service of the writ (art. 160), 10% of three months' rent for an eviction (art. 159), the 1405 budget-table range for a non-financial judgment, and the Dispute Settlement Council's art. 27 exemptions for a settlement report.

Parameterskindrequiredtimingamount_tomanshora_timingmonthly_rent_toman

calculate_arbitration_fee

محاسبهٔ حق‌الزحمهٔ داوری — Calculate arbitrator fee

Calculate حق‌الزحمهٔ داوری under the arbitration fee bylaw approved 1401/06/05 by the head of the judiciary (applies when the arbitrator and the parties have not agreed a fee): marginal 2% / 1% / 0.5% / 0.25% bands on the claim with a 1.5 billion rial cap, shared equally among arbitrators; a non-financial claim is 5–30 million rial per arbitrator.

Parameterskindrequiredarbitratorsclaim_toman

calculate_judicial_service_fee

محاسبهٔ هزینهٔ خدمات قضایی ۱۴۰۵ — Calculate 1405 judicial service fees

Sum the fixed judicial service fees of 1405 (budget law 1405, table 16): criminal complaint, criminal record certificate, notice service, objections, appeals of orders, Administrative Justice Court petitions, translation seals and more. Without services, returns the whole schedule.

Parametersservices

calculate_expert_fee

محاسبهٔ دستمزد کارشناسی رسمی — Calculate court expert fee

Calculate the official تعرفهٔ دستمزد کارشناسان رسمی دادگستری as replaced by the 1405 instrument (approved 1405/05/07, promulgated 1405/05/20; supersedes the 1398/12/25 tariff and its 1402 amendment). `valuation` is a marginal ladder on the ارزش موضوع کارشناسی (art. 11) with a hard per-expert cap (1,350,000,000 rial) and explicit percentage add-ons for a few named subject matters (art. 11 notes 3–4, art. 22(2)); `residual` is expert work with no specific tariff in this instrument (art. 9) — a RANGE of 20,000,000–100,000,000 rial set on the expert's proposal with the referring authority's agreement, and the tool returns only the floor and says so; `evidence` is the flat minimum for تأمین دلیل (art. 7, 20,000,000 rial). Dozens of OTHER specialties (arts. 13–55) carry their own separate tariff and are not modelled here. Never guess a court expert's statutory fee.

Parameterskindrequiredmodifiersvalue_rialexpert_counttravel_days_same_provincetravel_days_other_province

calculate_tax

محاسبهٔ مالیات — Calculate Iranian taxes

Calculate Iranian salary, property-transfer, inheritance or rental tax. For inheritance: rates depend on asset kind and heir class (arts. 17–18 ق.م.م) with NO general monetary exemption, and pre/post-1395 death dates differ — ask before calling. Property basis is ارزش معاملاتی, not market price.

Parameterstax_typerequiredasset_kindheir_classvalue_tomanmonthly_tomanno_other_incomemonthly_rent_tomanresidential_under_exempt_area

Version history

2
  1. v1.1.0LatestOct 29, 2026
  2. v1.0.0Sep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.