# Türk Hukuku Mevzuat

> Türk Hukuku Mevzuat is an open-source MCP server for legal and government. Official current text of Turkish statutes, fetched live from mevzuat.gov.tr. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://turk-hukuku.com/mcp/
- **Repository:** https://github.com/aydincan/turk-hukuku-mevzuat-mcp
- **MCP Registry name:** io.github.aydincan/turk-hukuku-mevzuat-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-15

## About

A model asked about "TBK m.49" often answers from memory. This server instead pulls the consolidated text from the Presidency's legislation system, mevzuat.gov.tr, so the article it quotes is the current official one. It fetches the statute PDF, converts it to text, extracts the requested article and caches it in memory for the session only.

The law parameter is flexible: an abbreviation such as TBK, a number such as 6098 or the full id 1.5.6098. A search tool looks for laws by title, by full text or both and returns ids that can go straight into the article tool, and an index lists the registered laws. The README says laws not in the registry can still be called by number or id.

It behaves carefully toward the official site: one request at a time, at least a second apart, an identifying User-Agent, and no attempts to solve or bypass captchas. On a 403, 429 or unexpected page it stops and points you to the official site. It is open source under MIT and states that it is not legal advice.

## Features

- **Article lookup:** madde_getir returns one article of a law with its verification source.
- **Full statute text:** kanun_metni_getir fetches the whole current consolidated law.
- **Flexible law names:** Accepts abbreviations, numbers or full ids.
- **Title and full-text search:** mevzuat_ara searches law titles, content or both.
- **Polite fetching:** Single requests, one-second spacing and a stop on captchas or blocks.
- **Local and private:** Runs locally, caches in memory only and collects no data.

## Good for

- Quote the current text of a Turkish civil code or obligations article
- Find which laws mention a concept
- Verify a statute reference an AI wrote
- Read a whole law without leaving the assistant

## Install

### Claude Code (Terminal)

```sh
claude mcp add turk-hukuku-mevzuat-mcp -- uvx turk-hukuku-mevzuat-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "turk-hukuku-mevzuat-mcp": {
      "command": "uvx",
      "args": [
        "turk-hukuku-mevzuat-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "turk-hukuku-mevzuat-mcp": {
      "command": "uvx",
      "args": [
        "turk-hukuku-mevzuat-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "turk-hukuku-mevzuat-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "turk-hukuku-mevzuat-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "turk-hukuku-mevzuat-mcp": {
      "command": "uvx",
      "args": [
        "turk-hukuku-mevzuat-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "turk-hukuku-mevzuat-mcp": {
      "command": "uvx",
      "args": [
        "turk-hukuku-mevzuat-mcp"
      ]
    }
  }
}
```

## Tools

- `mevzuat_ara`: Search laws and return matches with ids
- `madde_getir`: Official current text of one article plus verification source
- `kanun_metni_getir`: Official current full text of a law
- `bilinen_kanunlar`: Index of registered laws

## FAQ

### Where does the text come from?

From the official consolidated PDFs on mevzuat.gov.tr, converted to text locally.

### Can I use a law that is not in the registry?

Yes. Laws can be called by number or id as well as by abbreviation.

### Does it bypass captchas?

No. If the site asks for a captcha or blocks access it stops and refers you to the official site.

### Does it store anything?

Fetched texts stay in memory for the session; nothing is written to disk and no data is collected.

### Is Türk Hukuku Mevzuat free?

Yes. Türk Hukuku Mevzuat is open source, so you can use and self-host it for free.

### How do I add Türk Hukuku Mevzuat to Claude Code?

Run this command in your terminal: claude mcp add turk-hukuku-mevzuat-mcp -- uvx turk-hukuku-mevzuat-mcp

### What are the best alternatives to Türk Hukuku Mevzuat?

The closest alternatives to Türk Hukuku Mevzuat are Türk Hukuku İçtihat, Mütalaa MCP, imzala.net — Türk içtihat arşivi, Doktor and LexVira.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Türk Hukuku İçtihat](https://ai-powered.com/mcp/turk-hukuku-ictihat): Türk Hukuku İçtihat is an open-source MCP server for legal and government.
- [Mütalaa MCP](https://ai-powered.com/mcp/mutalaa-mcp): Mütalaa MCP is a free MCP server for legal and government.
- [imzala.net — Türk içtihat arşivi](https://ai-powered.com/mcp/imzala-net-turk-ictihat-arsivi): imzala.net — Türk içtihat arşivi is an MCP server for legal and government.
- [Doktor](https://ai-powered.com/mcp/doktor-2): Doktor is an open-source MCP server for legal and government.
- [LexVira](https://ai-powered.com/mcp/lexvira): LexVira is a freemium MCP server for legal and government.
- [Dayanak](https://ai-powered.com/mcp/dayanak): Dayanak is an open-source MCP server for legal and government.
- [İçtihad AI](https://ai-powered.com/mcp/ictihad-ai): İçtihad AI is an MCP server for legal and government.
- [Tazminat.com: Turkish legal calculations](https://ai-powered.com/mcp/tazminat-com-turkish-legal-calculations): Tazminat.com: Turkish legal calculations is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/turk-hukuku-mevzuat
