# Türk Hukuku Mevzuat

This MCP server lets AI clients search Turkish laws and retrieve current article text from the official source. Use it when a legal reference needs checking.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6
- Author: aydincan
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aydincan/turk-hukuku-mevzuat-mcp
- Updated: 2026-10-15
- HTML: https://affpapa.org/en/nevibecode/mcp/turk-hukuku-mevzuat

## What it does

Türk Hukuku Mevzuat connects an AI client to current official Turkish law texts. Its tools cover law and content search, lookup by article number, full-text retrieval, and an index of known laws. A law can be addressed by abbreviation, number, or full identifier, while search results provide an ID that can feed the article lookup.

The server downloads PDFs from `mevzuat.gov.tr`, extracts their text with `pypdf`, and keeps fetched laws in memory for the active session. It sends one request at a time and waits at least one second between requests. The scope is limited to laws, so regulations, notices, and case law are outside what this server can search or retrieve.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add turk-hukuku-mevzuat-mcp -- uvx turk-hukuku-mevzuat-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from turk-hukuku-mevzuat-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add turk-hukuku-mevzuat -- uvx turk-hukuku-mevzuat-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from turk-hukuku-mevzuat-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "turk-hukuku-mevzuat": {
            "command": "uvx",
            "args": [
                "turk-hukuku-mevzuat-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from turk-hukuku-mevzuat-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "turk-hukuku-mevzuat": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "turk-hukuku-mevzuat-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from turk-hukuku-mevzuat-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add turk-hukuku-mevzuat uvx turk-hukuku-mevzuat-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from turk-hukuku-mevzuat-mcp <command>

## When to use it
- search Turkish laws by title or phrase
- retrieve the current wording of an article
- load a law as a complete text
- check a cited provision against `mevzuat.gov.tr`

## Example prompts
- Use `mevzuat_ara` to find laws whose full text contains “kişisel veri”.
- Fetch article 49 of `TBK` with `madde_getir` and include the verification source.
- Return the current full text of law `6098` with `kanun_metni_getir`.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
