Turkish Legislation

v1.0.0Search & Data Extractionstable

Provides programmatic access to Turkey's Ministry of Justice Legislation Information System (mevzuat.gov.tr), enabling users to search legislation, retrieve article hierarchies, and fetch article contents in Markdown format through natural language.

mevzuat-mcpmcpai-integration
Share:
205
Stars
0
Downloads
0
Weekly
0/5

What is Turkish Legislation?

Turkish Legislation is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to provides programmatic access to turkey's ministry of justice legislation information system (mevzuat.gov.tr), enabling users to search legislation, retrieve article hierarchies, and fetch article cont...

Provides programmatic access to Turkey's Ministry of Justice Legislation Information System (mevzuat.gov.tr), enabling users to search legislation, retrieve article hierarchies, and fetch article contents in Markdown format through natural language.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Provides programmatic access to Turkey's Ministry of Justice

Use Cases

Search Turkey's Ministry of Justice legislation system.
Retrieve article hierarchies and legal content.
Query Turkish laws and regulations programmatically.
saidsurucu

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mevzuat-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Turkish Legislation

Mevzuat MCP provides AI assistants with programmatic access to Turkey's Ministry of Justice Legislation Information System (mevzuat.gov.tr) and the Adalet Bakanlığı Bedesten portal, exposing 26 tools that cover searching, browsing, and reading all major Turkish legislation types including Kanun, KHK, Tüzük, Cumhurbaşkanlığı Kararnamesi, and more. Users can search in keyword (Boolean) or semantic mode, retrieve full article hierarchies, and read article text returned in clean Markdown — making it straightforward to research Turkish law, draft legal summaries, or cross-reference regulations entirely through natural language. An optional OpenRouter API key unlocks semantic (embedding-based) search for more natural queries.

Prerequisites

  • uv package manager installed (recommended) — or Python 3.10+ with pip
  • An MCP client such as Claude Desktop, 5ire, or Cursor
  • An OpenRouter API key (optional, enables semantic search via OPENROUTER_API_KEY)
  • A Mistral API key (optional, improves PDF extraction for presidential documents via MISTRAL_API_KEY)
  • Internet access to reach mevzuat.gov.tr and bedesten.adalet.gov.tr
1

Install uv (if not already installed)

uv is the recommended way to run Mevzuat MCP without a manual Python environment setup. Install it for your platform.

# Mac/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2

Test the server from the command line

Run the server once to confirm it starts correctly. uv will automatically resolve and download all Python dependencies from the GitHub repository.

uvx --from git+https://github.com/saidsurucu/mevzuat-mcp mevzuat-mcp
3

Configure Claude Desktop

Edit claude_desktop_config.json to add Mevzuat MCP as an MCP server. If you have an OpenRouter key for semantic search, add the env block shown below.

{
  "mcpServers": {
    "Mevzuat MCP": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/saidsurucu/mevzuat-mcp",
        "mevzuat-mcp"
      ],
      "env": {
        "OPENROUTER_API_KEY": "your-openrouter-api-key"
      }
    }
  }
}
4

Alternatively, use the hosted remote server

If you prefer zero local installation, connect directly to the hosted Mevzuat MCP instance. In Claude Desktop go to Settings > Connectors > Add custom connector and enter the URL below.

https://mevzuat.surucu.dev/mcp
5

Restart Claude Desktop and verify

Restart Claude Desktop and ask a question about Turkish legislation to confirm the tools are available. The server exposes tools like search_mevzuat and get_mevzuat_content.

Turkish Legislation Examples

Client configuration

claude_desktop_config.json entry for Mevzuat MCP using uvx with optional semantic search via OpenRouter.

{
  "mcpServers": {
    "Mevzuat MCP": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/saidsurucu/mevzuat-mcp",
        "mevzuat-mcp"
      ],
      "env": {
        "OPENROUTER_API_KEY": "sk-or-...",
        "MISTRAL_API_KEY": "your-mistral-key"
      }
    }
  }
}

Prompts to try

Example prompts to search and read Turkish legislation through Claude.

- "Search for laws related to kişisel veri (personal data) protection in Turkey."
- "Retrieve the full text of the Türk Ceza Kanunu article on fraud."
- "List all amendments to the İş Kanunu (Labour Law) in the last two years."
- "What does Cumhurbaşkanlığı Kararnamesi No. 1 say about the Presidency of the Republic of Turkey?"
- "Find regulations governing university academic staff (üniversite yönetmeliği)."

Troubleshooting Turkish Legislation

Server fails to start or uv cannot resolve the package

Ensure uv is installed and in your PATH by running 'uv --version'. If the git URL fails to resolve, check your internet connection and that GitHub is reachable. Try running the uvx command manually in your terminal to see the full error output.

Semantic search returns no results or an error about embeddings

Semantic search requires a valid OPENROUTER_API_KEY. Without it, only keyword (Boolean) search works. Set the key in the env block of your claude_desktop_config.json and restart Claude Desktop.

PDF content for presidential documents is missing or garbled

Set MISTRAL_API_KEY in your config to enable OCR-quality PDF extraction. Without it, the server uses a fallback method that may produce lower-quality text for scanned presidential decree PDFs.

Frequently Asked Questions about Turkish Legislation

What is Turkish Legislation?

Turkish Legislation is a Model Context Protocol (MCP) server that provides programmatic access to turkey's ministry of justice legislation information system (mevzuat.gov.tr), enabling users to search legislation, retrieve article hierarchies, and fetch article contents in markdown format through natural language. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Turkish Legislation?

Follow the installation instructions on the Turkish Legislation GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Turkish Legislation?

Turkish Legislation works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Turkish Legislation free to use?

Yes, Turkish Legislation is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mevzuat-mcp": { "command": "npx", "args": ["-y", "mevzuat-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Turkish Legislation?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides