Beta Space StudioBeta Space Studio logo
Dev Tools·1 June 2025·Said Sürücü·37

Mevzuat CLI

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

Author: Said SürücüCategory: Dev ToolsLast update: 1 June 2025
37GitHub stars

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.

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