Skip to main content
Glama
saidsurucu

Mevzuat MCP

by saidsurucu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_kanunA

Search for Turkish laws (Kanun) in both titles and content on mevzuat.gov.tr.

IMPORTANT: Search is keyword-based, NOT by law number. Use descriptive Turkish terms.

  • WRONG: "3065" or "6362" (numbers won't find laws reliably)

  • RIGHT: "katma değer vergisi" (finds KDV Kanunu No. 3065)

  • RIGHT: "sermaye piyasası" (finds Sermaye Piyasası Kanunu No. 6362)

  • RIGHT: "gümrük kanunu" (finds Gümrük Kanunu No. 4458)

  • RIGHT: "gelir vergisi" (finds Gelir Vergisi Kanunu No. 193)

  • RIGHT: "ceza muhakemesi" (finds CMK No. 5271)

  • RIGHT: "vergi usul" (finds VUK No. 213)

Use 'search_within_kanun' to search within a specific law's articles after finding its number.

Query Syntax:

  • Simple keyword: yatırımcı

  • Boolean AND: yatırımcı AND tazmin (both terms required)

  • Boolean OR: yatırımcı OR müşteri (at least one term)

  • Boolean NOT: yatırımcı NOT kurum (first yes, second no)

  • Required term: +yatırımcı +tazmin (similar to AND)

  • Grouping: (yatırımcı OR müşteri) AND tazmin

  • Exact phrase: "mali sıkıntı" (or use tam_cumle=true)

Returns: Law number, title, acceptance date, Official Gazette date and issue number.

search_within_kanunA

Search within a specific law's articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "yatırımcı AND tazmin", '"mali sıkıntı"', "vergi OR ücret" Semantic examples: "yatırımcının zararının tazmini", "sermaye piyasası düzenlemeleri"

search_tebligA

Search for Turkish communiqués (Tebliğ) in both titles and content on mevzuat.gov.tr.

IMPORTANT: Search is keyword-based, NOT by number. Use descriptive Turkish terms. Communiqués are regulatory documents issued by various government institutions.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "katma değer vergisi" - Find VAT-related communiqués

  • "muafiyet OR istisna" - Communiqués about exemptions

  • "gümrük" - Customs-related communiqués

  • "ithalat" or "ihracat" - Import/export communiqués

Returns: Communiqué number, title, publication date, Official Gazette info.

get_teblig_contentA

Retrieve the full content of a Turkish communiqué (Tebliğ) in Markdown format.

This tool fetches the complete text of a communiqué identified by its number. Use 'search_teblig' first to find the communiqué number and series.

Returns:

  • Full communiqué content formatted as Markdown

  • Ready for analysis, summarization, or question answering

Example usage:

  1. Search for communiqués: search_teblig(aranacak_ifade="katma değer vergisi")

  2. Get full content: get_teblig_content(mevzuat_no="42331", mevzuat_tertip="5")

search_cbkA

Search for Turkish Presidential Decrees (Cumhurbaşkanlığı Kararnamesi) in both titles and content.

IMPORTANT: Search is keyword-based, NOT by decree number. Use descriptive Turkish terms. Presidential Decrees are executive orders issued by the President of Turkey (post-2017).

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "organize suç" - Find decrees about organized crime

  • "kamu OR devlet" - Decrees about public or state matters

  • "bakanlık AND teşkilat" - Ministry organization decrees

Returns: Decree number, title, publication date, Official Gazette info.

search_within_cbkA

Search within a specific Presidential Decree's articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "organize AND suç", '"organize suç"', "devlet OR kamu" Semantic examples: "organize suç örgütleri ile mücadele", "bakanlık teşkilat yapısı"

search_cbyonetmelikA

Search for Turkish Presidential Regulations (Cumhurbaşkanlığı Yönetmeliği / CB Yönetmeliği) in both titles and content.

IMPORTANT: Search is keyword-based, NOT by number. Use descriptive Turkish terms. These are regulations issued directly by the Presidency. For institutional regulations (Kurum Yönetmeliği), use 'search_kurum_yonetmelik' instead.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "ihale" - Procurement regulations

  • "taşınır AND mal" - Movable property regulations

  • "kamu ihale" - Public procurement regulations

  • Leave empty to list all, use date filters for period

Returns: Regulation number, title, publication date, Official Gazette info.

search_within_cbyonetmelikA

Search within a specific Presidential Regulation's articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "taşınır AND mal", '"ihale kanunu"', "kamu OR devlet" Semantic examples: "taşınır mal yönetimi ve zimmet işlemleri", "kamu ihale süreçleri"

search_cbbaskankararA

Search for Turkish Presidential Decisions (Cumhurbaşkanı Kararı) in both titles and content.

IMPORTANT: Search is keyword-based, NOT by decision number. Use descriptive Turkish terms. Presidential Decisions are executive decisions (different from Presidential Decrees/Kararnamesi). Note: Bakanlar Kurulu Kararı (BKK) is NOT a separate type - older BKKs may appear here or in Kanun.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "atama" - Find decisions about appointments

  • "ihracat AND rejim" - Export regime decisions

  • "vergi" or "gümrük" - Tax or customs decisions

  • Leave empty with dates to list all decisions from a period

Returns: Decision number, title, publication date, Official Gazette info. PDF format only.

get_cbbaskankarar_contentA

Retrieve the full content of a Turkish Presidential Decision (Cumhurbaşkanı Kararı) in Markdown format.

This tool fetches the PDF document and converts it to Markdown. Presidential Decisions are available only as PDF files. Use 'search_cbbaskankarar' first to find the decision number and series.

Returns:

  • Full decision content formatted as Markdown (converted from PDF)

  • Ready for analysis, summarization, or question answering

Example usage:

  1. Search for decisions: search_cbbaskankarar(baslangic_tarihi="2023", bitis_tarihi="2024")

  2. Get full content: get_cbbaskankarar_content(mevzuat_no="10452", mevzuat_tertip="5")

search_cbgenelgeA

Search for Turkish Presidential Circulars (Cumhurbaşkanlığı Genelgesi / CB Genelgesi) in titles and content.

IMPORTANT: Search is keyword-based, NOT by circular number. Use descriptive Turkish terms. Use 'get_cbgenelge_content' with mevzuat_no and resmi_gazete_tarihi to retrieve full PDF content.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "koordinasyon" - Coordination circulars

  • Leave empty with dates to list all circulars from a period

Returns: Circular number, title, publication date, Official Gazette info. PDF format only.

get_cbgenelge_contentA

Retrieve the full content of a Turkish Presidential Circular (Cumhurbaşkanlığı Genelgesi) in Markdown format.

This tool fetches the PDF document and converts it to Markdown. Presidential Circulars are available only as PDF files. Use 'search_cbgenelge' first to find the circular number and Official Gazette date.

IMPORTANT: You must provide the 'resmi_gazete_tarihi' (Official Gazette date) from the search results. This is required to construct the correct PDF URL.

Returns:

  • Full circular content formatted as Markdown (converted from PDF)

  • Ready for analysis, summarization, or question answering

Example usage:

  1. Search for circulars: search_cbgenelge(baslangic_tarihi="2025")

  2. Get full content: get_cbgenelge_content(mevzuat_no="16", resmi_gazete_tarihi="20/09/2025", mevzuat_tertip="5")

search_khkA

Search for Turkish Decree Laws (Kanun Hükmünde Kararname / KHK) in titles and content.

IMPORTANT: Search is keyword-based, NOT by KHK number. Use descriptive Turkish terms. KHKs were abolished after the 2017 constitutional referendum (last issued 2018). Previously enacted KHKs remain in force unless repealed.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "sağlık AND düzenleme" - Health-related KHKs

  • "anayasa" - Constitutional KHKs

  • Leave empty with dates (e.g., 2010-2018) to list all KHKs from a period

Returns: KHK number, title, dates, Official Gazette info.

search_within_khkA

Search within a specific Decree Law's (KHK) articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "kanun AND değişiklik", '"kanun hükmünde"', "bakanlık OR kurum" Semantic examples: "sağlık alanında yapılan düzenlemeler", "anayasa değişikliği"

search_tuzukA

Search for Turkish Statutes/Regulations (Tüzük) in titles and content.

IMPORTANT: Search is keyword-based, NOT by statute number. Use descriptive Turkish terms. Tüzük are regulatory statutes that implement and detail the provisions of laws.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "tapu" - Land registry related statutes

  • "vakıf AND tescil" - Foundation registration statutes

  • Leave empty with dates to list all statutes from a period

Returns: Statute number, title, dates, Official Gazette info.

search_within_tuzukA

Search within a specific Statute's (Tüzük) articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "tapu AND sicil", '"sicil kayıt"', "tescil OR ilan" Semantic examples: "tapu sicil kayıt işlemleri", "vakıf tescil süreci"

search_kurum_yonetmelikA

Search for Institutional/Organizational Regulations (Kurum ve Kuruluş Yönetmeliği) in titles and content.

IMPORTANT: Search is keyword-based, NOT by regulation number. Use descriptive Turkish terms. These are regulations issued by governmental institutions (ministries, agencies, boards). This is the largest dataset with 8686+ regulations. Use for: Gümrük Yönetmeliği, İthalat/İhracat Yönetmeliği, and similar institutional regulations.

Query Syntax: Simple keyword, AND, OR, NOT, +required, (grouping), "exact phrase"

Example queries:

  • "gümrük" - Customs regulations (e.g., Gümrük Yönetmeliği)

  • "ithalat" or "ihracat" - Import/export regulations

  • "nükleer" - Nuclear regulations

  • "adalet AND akademi" - Justice academy regulations

  • Leave empty with dates to list all regulations from a period

Returns: Regulation number, title, dates, Official Gazette info.

search_within_kurum_yonetmelikA

Search within a specific Institutional Regulation's articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "nükleer AND ihracat", '"ihracat kontrol"', "denetim OR teftiş" Semantic examples: "nükleer madde ihracat kontrol düzenlemeleri", "disiplin cezaları"

search_within_tebligA

Search within a specific communiqué's (Tebliğ) content using keyword or semantic search.

Tries article-based splitting first; if no articles found, falls back to chunk-based search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "vergi AND muafiyet", '"katma değer"', "istisna OR muafiyet" Semantic examples: "vergi muafiyeti koşulları", "KDV iade işlemleri"

search_within_cbbaskankararA

Search within a specific Presidential Decision's (CB Kararı) content using keyword or semantic search.

Presidential Decisions are PDF-based and use chunk-based splitting (no article structure).

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "atama AND görev", '"ihracat rejimi"', "vergi OR gümrük" Semantic examples: "kamu personeli atama kararları", "ihracat rejimi düzenlemeleri"

search_within_cbgenelgeA

Search within a specific Presidential Circular's (CB Genelgesi) content using keyword or semantic search.

Presidential Circulars are PDF-based and use chunk-based splitting (no article structure). IMPORTANT: resmi_gazete_tarihi is required (from search_cbgenelge results).

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "koordinasyon AND toplantı", '"kamu yönetimi"' Semantic examples: "bakanlıklar arası koordinasyon düzeni", "tasarruf tedbirleri"

search_mevzuatA

Search or browse all Turkish legislation on bedesten.adalet.gov.tr.

Covers 12 legislation types: Kanunlar, Cumhurbaşkanı Kararnameleri, Bakanlar Kurulu Yönetmelikleri, CB Yönetmelikleri, CB Kararları, CB Genelgeleri, KHK'lar, Tüzükler, Kurum/Kuruluş Yönetmelikleri, Üniversite Yönetmelikleri, Tebliğler, Mülga Mevzuat.

Search modes:

  • mevzuat_adi: Title/keyword search (recommended, searches legislation name)

  • phrase: Full-text content search (Solr syntax, searches inside document body)

  • mevzuat_no: Direct number lookup (e.g., '5237' for TCK)

  • Browse: Leave all empty to list by type

Date range filtering:

  • Use resmi_gazete_tarihi_start and/or resmi_gazete_tarihi_end (DD/MM/YYYY)

  • Single date: set both start and end to the same date

  • Year range: '01/01/2024' to '31/12/2024'

Workflow: Use this tool first to find legislation → then use mevzuatId from results with:

  • get_mevzuat_content: Full document text

  • search_within_mevzuat: Search articles within a document

  • get_mevzuat_madde_tree: Table of contents / article tree

  • get_mevzuat_gerekce: Law rationale (if gerekceId is present in results)

get_mevzuat_contentA

Retrieve the full content of a Turkish legislation document from bedesten.adalet.gov.tr.

Returns the complete text in plain format (HTML tags stripped). Use mevzuatId from search_mevzuat results (not the law number).

WARNING: Large legislation (e.g., TCK 5237, TTK 6102) can be 100K+ characters. For large documents, prefer search_within_mevzuat to find specific articles instead of loading the entire text.

Workflow: search_mevzuat → get mevzuatId → get_mevzuat_content

search_within_mevzuatA

Search within a specific legislation's articles on bedesten.adalet.gov.tr.

Ideal for large legislation where get_mevzuat_content would return too much text. Fetches the full document, splits into individual articles (MADDE), and applies keyword search with Boolean operators. Returns only matching articles sorted by relevance score (match frequency).

Each result includes: article number (madde no), match count, and full article text.

Workflow: search_mevzuat → get mevzuatId → search_within_mevzuat(mevzuatId, keyword)

Example: To find investor compensation articles in Capital Markets Law:

  1. search_mevzuat(mevzuat_adi='sermaye piyasası', mevzuat_tur='KANUN') → mevzuatId

  2. search_within_mevzuat(mevzuat_id='...', keyword='yatırımcı AND tazmin')

get_mevzuat_gerekceA

Retrieve the law rationale (gerekçe / kanun gerekçesi) from bedesten.adalet.gov.tr.

The gerekçe contains:

  • Purpose and reasoning behind the law (kanunun amacı ve gerekçesi)

  • Parliamentary committee reports (komisyon raporları)

  • Article-by-article justifications (madde gerekçeleri)

Only available for KANUN type legislation that has a published rationale. Not all laws have a gerekçe — check if gerekceId is present in search_mevzuat results.

Workflow: search_mevzuat → check gerekceId in results → get_mevzuat_gerekce(gerekceId)

get_mevzuat_madde_treeA

Get the article tree (table of contents / içindekiler) of a Turkish legislation from bedesten.adalet.gov.tr.

Returns a hierarchical structure showing:

  • Bölüm/Kısım (chapters/parts) as parent nodes

  • Madde (articles) as leaf nodes with maddeId, number, and title

  • Each node may have a gerekceId for article-level rationale

Works well with: KANUN, CB_KARARNAME, KHK, TUZUK, MULGA. May return empty for: CB_KARAR, CB_GENELGE, TEBLIGLER (these often lack structured articles).

Use this to understand the structure of a large law before diving into specific articles with search_within_mevzuat or get_mevzuat_content.

Workflow: search_mevzuat → get mevzuatId → get_mevzuat_madde_tree(mevzuatId)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saidsurucu/mevzuat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server