Mevzuat MCP: Search Turkish Legislation Directly in Claude

6月12日 Published inMCP Services

Mevzuat MCP is a FastMCP server that interfaces with Turkey's official legal information system (mevzuat.gov.tr). It enables any MCP-compatible client—such as Claude Desktop, 5ire, or custom applications—to search Turkish legislation, navigate article hierarchies, and retrieve full legal texts as clean Markdown. No manual scraping is required.

The tool allows you to search for laws by title, content, law number, Official Gazette number, or legal category. You can retrieve structured tables of contents for any law, including chapters, section headings, and article numbers. Additionally, the server converts the original HTML content into readable Markdown, ensuring the text is optimized for processing by Large Language Models (LLMs).

Installation for Non-Claude Models (5ire Example)

Prerequisites

  • Python 3.11 or newer. Ensure "Add Python to PATH" is selected during installation.
  • Git for Windows (Windows only). Download the "Git for Windows/x64" installer.
  • uv:
    • Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    • Mac/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
  • Microsoft Visual C++ Redistributable (Windows). This is required for specific Python dependencies.

5ire Integration

  1. Download and install the 5ire client for your operating system.
  2. Open 5ire. Navigate to Workspace → Providers and enter your LLM API key.
  3. Go to the Tools section. Click + Local or New.
  4. Configure the following fields:
    • Tool Key: mevzuatmcp
    • Name: Mevzuat MCP
    • Command: uvx --from git+https://github.com/saidsurucu/mevzuat-mcp mevzuat-mcp
  5. Click Save.
  6. Locate Mevzuat MCP in the Tools list. Hover over the entry and click the enable button on the right. The status indicator should turn green.

Manual Claude Desktop Setup

Prerequisites

The requirements are the same as above: Python, uv, and the Visual C++ Redistributable (for Windows users).

Configuration

  1. In Claude Desktop, navigate to Settings → Developer → Edit Config.
  2. Add the following configuration block to the mcpServers object within your claude_desktop_config.json file:
{
  "mcpServers": {
    "Mevzuat MCP": {
      "command": "uvx",
      "args": [
        "--from", "git+https://github.com/saidsurucu/mevzuat-mcp",
        "mevzuat-mcp"
      ]
    }
  }
}
  1. Exit and restart Claude Desktop to apply the changes.

Available MCP Tools

The server provides three primary tools:

search_mevzuat
Search the legal database using multiple filters.
Parameters: mevzuat_adi, mevzuat_no, resmi_gazete_sayisi, search_in_title, mevzuat_turleri, page_number, page_size, sort_field, sort_direction
Returns: MevzuatSearchResult (a paginated list of laws, total results count, etc.)

get_mevzuat_article_tree
Retrieve a hierarchical tree of chapters and articles for a specific law.
Parameters: mevzuat_id (obtained from search results)
Returns: List[MevzuatArticleNode] (a nested structure containing headings and article IDs)

get_mevzuat_article_content
Retrieve the full text of a specific article formatted as clean Markdown.
Parameters: mevzuat_id, madde_id (obtained from the article tree)
Returns: MevzuatArticleContent (Markdown text, metadata, and processing details)