Skip to main content
Glama

az-gov-mcp

An MCP server that gives AI assistants the in-force text of Azerbaijani law and official state wording, read live from the primary sources: e-qanun.az, president.az and mfa.gov.az. No API keys, no dependencies beyond the Python standard library.

Language models misquote legal articles and invent official titles. This server lets them cite the source.

Tools

Tool

Returns

eqanun_akt

Title, number, adoption date and legal status of an act

eqanun_madde

Verbatim in-force text of an article (Maddə)

eqanun_bend

Verbatim text of a numbered clause (bənd) in Cabinet or Presidential acts

eqanun_axtar

Articles of an act that contain a word

president_axtar

president.az search: official titles and document links

president_metn

Clean text of a president.az page

mfa_metn

Clean text of a mfa.gov.az page

olke_adi

Official Azerbaijani name of a state, full and short form (195 states)

e-qanun.az pages mix cp1254 bytes into UTF-8, keep repealed clauses as struck-through text and repeat earlier wordings in footnotes. The server handles all three, so eqanun_madde returns only the current text.

framework_id is the number in an e-qanun.az link: the Constitution is https://e-qanun.az/framework/897.

Related MCP server: Law7 MCP

Install

pip install git+https://github.com/khanprod/az-gov-mcp

Claude Code:

claude mcp add az-gov -- az-gov-mcp

Claude Desktop or any MCP client (claude_desktop_config.json):

{ "mcpServers": { "az-gov": { "command": "az-gov-mcp" } } }

Tests

PYTHONPATH=src python3 -m unittest -v tests.test_server
AZ_GOV_MCP_LIVE=1 PYTHONPATH=src python3 -m unittest tests.test_server.Live

Azərbaycanca

AI köməkçilərinə qüvvədə olan qanun mətnini və rəsmi adlandırmanı birbaşa e-qanun.az, president.az və mfa.gov.az mənbələrindən verən MCP serveri. Maddə və bənd mətni hərfi hərfinə, ləğv edilmiş bəndlər çıxarılmış şəkildə qaytarılır.

License

MIT

Available Tools

8 tools
eqanun_aktC

Act details and legal status from e-qanun.az. / Aktın rekvizitləri və statusu (e-qanun.az).

Inputs: framework_id (required).

eqanun_axtarC

Find the articles of an act that contain a word. / Mətn daxilində axtarış: verilmiş sözü daşıyan maddələr.

Inputs: soz (required), framework_id (required).

eqanun_bendC

Verbatim text of a numbered clause (bənd) in Cabinet or Presidential acts. / Nazirlər Kabineti və Prezident aktlarının bəndi.

Inputs: bend (required), framework_id (required).

eqanun_maddeC

Verbatim in-force text of an article (Maddə) of an act. / Maddənin qüvvədə olan rəsmi mətni, hərfi hərfinə.

Inputs: madde (required), framework_id (required).

mfa_metnC

Clean text of a mfa.gov.az page. / mfa.gov.az səhifəsinin təmiz mətni.

Inputs: url (required).

olke_adiC

Official Azerbaijani name of a state, full and short form. / Dövlətin rəsmi Azərbaycanca adı (mfa.gov.az əsaslı yerli siyahı).

Inputs: ad (required).

president_axtarC

Search president.az for official titles and document links. / president.az-da axtarış: rəsmi başlıq və sənəd linki.

Inputs: soz (required).

president_metnC

Clean text of a president.az page. / president.az səhifəsinin təmiz mətni.

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: act details, article text, clause text, within-act search, president search, president page text, MFA page text, and country name lookup. Although eqanun_madde and eqanun_bend both return verbatim legal text, their article-vs-clause granularity is clearly stated, and the site-specific metn tools are unambiguous.

    Naming Consistency4/5

    Names use consistent snake_case and a source/domain prefix pattern (eqanun_, president_, mfa_, olke_). The main deviation is that some tools end with a noun (akt, madde, metn) while others end with a verb (axtar), and olke_adi lacks a source prefix, but the style remains predictable.

    Tool Count5/5

    Eight tools is well within the ideal 3-15 range for a multi-source retrieval server. Each tool covers a specific retrieval need across legal, presidential, and MFA sources, with no redundant entries.

    Completeness3/5

    The server covers act details, article/clause retrieval, within-act search, president search/page text, MFA page text, and country names. However, notable gaps exist: no global search across legal acts (to discover an act by title or keyword), and no search capability for mfa.gov.az, which limits discovery workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to search and analyze legal documents from multiple jurisdictions including US federal and state law, case law, EU regulations, UK legislation, Canadian law, Congress bills, SEC filings, and FDA data through free government APIs.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.
      22
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP 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