ba-legal-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Official-source legal research, live national archive search, multi-tier judicial hierarchy search (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and citation verification MCP server for Bosnia and Herzegovina (BA).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_legislationB | Search Bosnia and Herzegovina (BA) national legislation (statutes, acts, codes, regulations, official gazette) via Official Gazette of BiH (sluzbenilist.ba), Službene novine FBiH & Službeni glasnik RS and live national legal archives. |
| search_case_lawC | Search Bosnia and Herzegovina (BA) court decisions and binding precedents via VSTV BiH Central Case Law Database (sudskapraksa.pravosudje.ba), 10 Cantonal Courts in FBiH (katsud-.pravosudje.ba), 6 District Courts in RS (okruznisud-.pravosudje.ba), Vrhovni sud FBiH/RS, Sud BiH & Ustavni sud BiH and open national judicial archives (Supported courts: Ustavni sud BiH & Sud Bosne i Hercegovine, Vrhovni sud FBiH & Vrhovni sud RS, 10 Kantonalnih sudova u FBiH (Sarajevo, Tuzla, Mostar, Zenica, Bihać, Novi Travnik, Odžak, Goražde, Široki Brijeg, Livno), 6 Okružnih sudova u RS (Banja Luka, Bijeljina, Doboj, Istočno Sarajevo, Prijedor, Trebinje) & Apelacioni sud Brčko, Općinski sudovi u FBiH & Osnovni sudovi u RS). |
| get_legal_document_markdownA | Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Bosnia and Herzegovina (BA) by its URL or official identifier. |
| list_court_hierarchyA | Return the complete step-by-step multi-tier judicial hierarchy for Bosnia and Herzegovina (BA): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals. |
| search_tiered_court_decisionsA | Search court decisions in Bosnia and Herzegovina (BA) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy. |
| verify_citationA | No-Hallucination Citation Verifier for Bosnia and Herzegovina (BA). Validates format and live existence of legal citations (e.g., 'AP-123/23, 65 0 P 123456 23 Pž or Službeni glasnik BiH br. 10/24') against official Bosnia and Herzegovina and ECLI/ELI registries to prevent AI-hallucinated citations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Four of the six tools are clearly distinct (legislation search, document fetch, hierarchy listing, citation verification), but search_case_law and search_tiered_court_decisions both search BA court decisions and differ mainly by an optional tier/court filter, which an agent could easily confuse or treat as a redundant parameter. The list_court_hierarchy dependency helps, but the boundary is still fuzzy.
All names are snake_case and verb-first (search_*, get_*, list_*, verify_*), giving a predictable pattern. Minor deviation: get_legal_document_markdown embeds an output format in the name and is noticeably longer than the rest.
Six tools is well-scoped for a national legal research server: search, retrieve, browse hierarchy, and verify citations, with each tool earning its place. No filler or redundant bulk.
The surface covers the core legal-research lifecycle: statutes search, full-text document retrieval (legislation and judgments), case law search by tier/court, hierarchy discovery, and citation verification. Minor gaps: no direct fetch-by-citation path (verify_citation validates but does not return the document), and no browse/list of gazette issues or legislation metadata beyond search.