Mevzuat CLI

Search Turkish legislation from your terminal. 12 legislation types, Solr search, article-level access — designed for AI agents.

Colophon

Category
Dev toolsNew
Last update
GitHub stars
37

Overview

The CLI counterpart of Mevzuat MCP. Search and read laws, presidential decrees, regulations, and all other legislation types from your terminal. JSON output, zero configuration.

Commands

  • mevzuat search — Content and/or title search (Solr syntax support)
  • mevzuat doc — Get legislation text as Markdown
  • mevzuat article — Get a single article by ID
  • mevzuat tree — Article tree / table of contents
  • mevzuat gerekce — Law rationale / justification

Supported Legislation Types

12 types including Laws (Kanun), Presidential Decrees (CB Kararname), Regulations (Yönetmelik), Presidential Regulations, Presidential Decisions, Presidential Circulars, Decree Laws (KHK), Statutes (Tüzük), Institutional Regulations, University Regulations, Communiqués (Tebliğ), and Repealed legislation.

Installation

npm install -g mevzuat

Usage

# Search legislation
mevzuat search "personal data protection" --type KANUN

# Get full text
mevzuat doc <mevzuatId>

# Single article
mevzuat article <maddeId>

Solr search operators: wildcards (*), fuzzy (~), proximity ("phrase"~5), boost (^2), grouping.

From the same shelf, built with the same approach.

  • Dev toolsNew

    Built by: Said Sürücü

    Yargı CLI

    Query Turkish legal databases from your terminal. Designed for AI agents and programmatic use — JSON output, pipe-friendly, zero configuration.

    131 stars

  • Dev toolsNew

    Built by: Said Sürücü

    UDF CLI

    Convert between UYAP UDF file format and HTML/Markdown. Make Turkey's judiciary document format readable for AI agents.

    15 stars

  • Dev tools

    Built by: Said Sürücü

    borsapy

    Turkey-specific finance library. A yfinance-like Python package for BIST stock data, forex, crypto, TEFAS and more.

    528 stars

Tools that connect to your own data.

Mevzuat CLI is open source. If your organization needs something similar for its own data sources, let's talk.

Mevzuat CLI - Resources | Beta Space Studio | Beta Space Studio