home / mcp / mevzuat mcp server

Mevzuat MCP Server

MCP Server for Searching Turkish Legislation

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "saidsurucu-mevzuat-mcp": {
      "url": "https://mevzuat.surucu.dev/mcp",
      "headers": {
        "MISTRAL_API_KEY": "your_mistral_api_key"
      }
    }
  }
}

This MCP server provides a standard programmatic interface to Mevzuat Bilgi Sistemi, enabling rapid search and Markdown-formatted access to Turkish legal texts. It supports multiple document types through a rich set of tools, caching for performance, and easy integration with MCP clients like Claude Desktop and 5ire.

How to use

You connect your MCP client to the Mevzuat MCP server to search and retrieve legal documents in Markdown. Use the search tools to find titles or content across different document types, and use the within-tool searches to drill down into specific clauses. Take advantage of optional features like exact phrase matching, boolean operators, and date filtering to refine results. When you request PDFs, you can enable OCR processing for better extraction if needed.

How to install

Prerequisites: ensure you have a network-enabled MCP client and a compatible runtime. You can use the free remote MCP URL for quick experiments, or run a local setup if you want full control and higher reliability.

Additional setup and references

The server exposes a remote MCP URL you can connect to directly with your MCP client. You can also run a local instance using the provided installation flow, which uses the uvx tool to execute the MCP from GitHub.

Configuration notes

Two connection methods are provided: a remote HTTP MCP endpoint and a local stdio-based MCP server. The HTTP method uses a URL you connect to, while the stdio method runs a local command and exposes the MCP interface via standard input/output.

Security and usage notes

If you enable OCR for PDF-based materials, you may need an API key from Mistral OCR. Provide this key as an environment variable when starting the local MCP server or when invoking the local tooling that supports OCR.

Available tools

search_kanun

Searches laws by title keywords with optional boolean operators and date filters.

search_within_kanun

Searches within a specific law for keywords and ranks results by relevance.

search_khk

Searches decree laws by title with filtering options.

search_within_khk

Searches within a decree law for keywords and relevance.

search_tuzuk

Searches statutes by title with optional filters.

search_within_tuzuk

Searches within a statute for keywords and relevance.

search_kurum_yonetmelik

Searches institutional regulations by title.

search_within_kurum_yonetmelik

Searches within institutional regulations by keywords.

search_cbk

Searches presidential decrees by title.

search_within_cbk

Searches within presidential decrees by keywords.

search_cbbaskankarar

Searches presidential decisions (PDF with OCR support) by title.

search_within_cbbaskankarar

Searches within presidential decisions by keywords.

search_cbyonetmelik

Searches presidential regulations by title.

search_within_cbyonetmelik

Searches within presidential regulations by keywords.

search_cbgenelge

Searches presidential circulars by title (PDF with OCR support).

search_within_cbgenelge

Searches within presidential circulars by keywords.

search_teblig

Searches communiqués by title.

search_within_teblig

Searches within communiqués by keywords.