Mevzuat CLI
Search Turkish legislation from your terminal. 12 legislation types, Solr search, article-level access — designed for AI agents.
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 Markdownmevzuat article— Get a single article by IDmevzuat tree— Article tree / table of contentsmevzuat 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.