# aydincan/turk-hukuku-mevzuat-mcp [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/aydincan/turk-hukuku-mevzuat-mcp  
**GitHub Stars:** 2  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/aydincan-turk-hukuku-mevzuat-mcp

## Description
Turkish legislation live from the official source (mevzuat.gov.tr): current article text by law and article number, with verification links. Install: uvx turk-hukuku-mevzuat-mcp.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

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

## Documentation

## What the aydincan/turk-hukuku-mevzuat-mcp MCP server does

The aydincan/turk-hukuku-mevzuat-mcp MCP server gives AI clients access to current Turkish law texts published by the Presidential Legislation Information System at mevzuat.gov.tr. Its purpose is document retrieval and verification: an agent can obtain the official text of a provision and a link back to the source instead of generating a citation from memory.

The server covers laws only. Regulations, communiqués, case law, legal opinions, interpretation, and applying a rule to a specific fact pattern are outside its scope. It is therefore suited to source lookup and document-based research, not legal advice.

## How it works

For a known law, the `kanun` input can be a short code such as `TBK`, a law number such as `6098`, or a full identifier such as `1.5.6098`. The server can also accept a number or identifier for a law that is not in its registered list.

The `mevzuat_ara` tool searches the official site's legislation data endpoint. Search scope can target law titles with `Baslik`, full text with `Icerik`, or both with `Tumu`. Results include a legislation identifier that can be passed directly to `madde_getir`, which helps locate a law when its number is unknown.

For text retrieval, the server downloads the corresponding consolidated PDF from mevzuat.gov.tr, converts it to text with `pypdf`, and extracts the requested article using pattern matching. Downloaded content remains in a local process cache. The project states that it makes no telemetry or data collection calls and uses mevzuat.gov.tr as its external connection.

## Setup and configuration

The package is published on PyPI and can run through `uvx` without a separate installation. A direct server command is:

```bash
uvx --from turk-hukuku-mevzuat-mcp turk-hukuku-mevzuat
```

It can also be installed with pip, after which the `turk-hukuku-mevzuat` command or the `python -m turk_hukuku_mevzuat` module can start it. The README provides configuration examples for Claude Code, OpenAI Codex, and Gemini CLI. No API key, account credential, or environment variable is documented as required.

## Tools and capabilities

The aydincan/turk-hukuku-mevzuat-mcp MCP server exposes four documented tools:

- `mevzuat_ara(ifade, nerede, adet)` searches laws and returns matching records with legislation identifiers.
- `madde_getir(kanun, madde_no)` returns the current official text of a specified article and its verification source.
- `kanun_metni_getir(kanun)` returns the complete current text of a law.
- `bilinen_kanunlar()` lists registered laws with abbreviations, numbers, names, and identifiers.

This combination supports both direct lookups, such as retrieving an article from a known law, and discovery workflows that search for a concept before retrieving the relevant source text.

## Limitations and notes

Search result ordering is not guaranteed to place the most relevant law first. Applications should inspect returned names and numbers before requesting a full law or article. PDF extraction can occasionally preserve awkward line breaks or merge text, so the source page should be opened when exact formatting or wording is in doubt.

The server does not invent replacement text when it cannot extract an article, including some repealed or amended provisions; it reports a warning instead. Always verify the final wording at mevzuat.gov.tr. The project is licensed under MIT, while the legislation data belongs to the official source.

_Full upstream README: https://allmcps.com/mcp/aydincan-turk-hukuku-mevzuat-mcp/readme_

