mk-legal-mcp
# North Macedonia Legal Research MCP Server (`mk-legal-mcp`)
Model Context Protocol (MCP) server providing direct, read-only access to **North Macedonia (MK)** legislation, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and statutory citation verification for Claude Desktop, Cursor, and Antigravity.
---
## Quick Desktop Setup (No Command Line Required)
This package includes a graphical installer for legal practitioners who prefer not to use terminal commands or edit JSON configuration files manually.
1. **Download:** Click **`<> Code`** at the top right of this repository, select **`Download ZIP`**, and extract the folder to your computer.
2. **Run the Setup Utility:**
- **Windows:** Double-click `Click_Here_To_Install_Windows.bat`
- **macOS:** Double-click `Click_Here_To_Install_Mac.command`
3. **Connect:** Click **Install & Connect Automatically** in the setup window and restart Claude Desktop.
**System Integrity Note:** The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python environment inside the extracted folder and registers the server entry in your AI client configuration.
---
## Multi-Tier Judicial Hierarchy & Official Sources
This server indexes and queries decisions across the full judicial hierarchy of **North Macedonia**, allowing practitioners to filter research by procedural stage:
| Judicial Tier | Covered Courts & Tribunals |
|:---|:---|
| **Tier 1 — First Instance** | Osnovni sudovi (27 Basic Courts including Osnoven građanski sud Skopje & Osnoven krivičen sud Skopje) |
| **Tier 2 — Regional / Cantonal / Appellate** | 4 Apelacioni sudovi (Skopje, Bitola, Gostivar, Štip), Upravni sud & Viš upraven sud |
| **Tier 3 — Supreme & Constitutional** | Vrhoven sud na Republika Severna Makedonija (vsrm.mk) & Ustaven sud na RSM (ustavensud.mk) |
### Primary Legal Portals
- **National Legislation Registry:** Služben vesnik na RSM (slvesnik.com.mk) & Akademika / Pravda Legislation (`https://www.slvesnik.com.mk`)
- **Multi-Tier Case Law Database:** Nacionalen portal na sudski odluki - Sud.mk (All Basic, Appellate, Administrative & Supreme Courts) (`http://www.sud.mk`)
- **Supported Citation Format Example:** `Рев1.бр.123/2023 or Службен весник на РСМ бр. 20/24`
### Indexed Court & Regional Sub-Portals
| Sub-Portal Identifier (`sub_court`) | Official Endpoint / Registry |
|:---|:---|
| `sud_mk_all_tiers` | `http://www.sud.mk` |
| `vrhoven_sud` | `http://www.vsrm.mk` |
| `apelacionen_skopje` | `http://www.asskopje.mk` |
| `apelacionen_bitola` | `http://www.asbitola.mk` |
| `apelacionen_stip` | `http://www.asstip.mk` |
| `apelacionen_gostivar` | `http://www.asgostivar.mk` |
---
## Available MCP Tools
| Tool | Description |
|:---|:---|
| `search_legislation` | Searches enacted statutes, codes, decrees, and official gazette publications in North Macedonia. |
| `search_case_law` | Searches national jurisprudence and European/ECLI-linked judgments for North Macedonia. |
| `search_tiered_court_decisions` | Filters case law specifically by judicial instance (`first_instance`, `appellate_regional`, `supreme_constitutional`) or regional/cantonal court key (`sub_court`). |
| `list_court_hierarchy` | Returns the complete 3-tier court structure and registered sub-portal endpoints for North Macedonia. |
| `get_legal_document_markdown` | Retrieves full statutory or judicial texts and converts them into clean Markdown. |
| `verify_citation` | Validates statutory and case law citations against official registries. |
---
<details>
<summary><b>Manual Configuration for Developers (Optional)</b></summary>
```json
{
"mcpServers": {
"mk-legal-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jurisatlas/mk-legal-mcp",
"mk-legal-mcp"
]
}
}
}
```
</details>
TDQS
Scored across 6 tools
Most tools have clearly distinct purposes: legislation search, case-law search, document retrieval, court hierarchy, tiered case search, and citation verification. The main overlap is between search_case_law and search_tiered_court_decisions, but the latter is explicitly scoped to tier/regional filtering, so an agent can usually distinguish them.
All tool names use consistent snake_case with a clear verb-first pattern: search_*, get_*, list_*, and verify_*. The one longer name, get_legal_document_markdown, still follows the same convention and remains readable.
Six tools is well-scoped for a legal research server, with each tool covering a distinct part of the workflow. There is no obvious bloat or missing core operation at this count.
The surface covers legislation search, case-law search, full-document retrieval, court hierarchy, tiered court search, and citation verification, which is strong lifecycle coverage for legal research. Minor gaps might include direct citation-to-document resolution or richer filtering, but agents can work around these with the existing tools.