How mcyba/yargi-mcp works
Yargı MCP exposes Turkish legal-source search and document retrieval as MCP tools: an MCP client initiates a request, the central server dispatches it to a source-specific client, and results or Markdown documents return through the MCP interface. The repository has dedicated clients for courts, regulators, and other legal bodies, plus shared Bedesten access and semantic-search code. Source-specific search and document handling often live in the same client. The README documents broad coverage; unsampled integrations are shown at subsystem level, and semantic-search wiring is uncertain.
Main entry points: mcp_server_main.py MCP tool server · anayasa_mcp_module Constitutional Court · yargitay_mcp_module/client.py Court of Cassation · danistay_mcp_module/client.py Council of State
Components 20
MCP interface
- MCP tool server
mcp_server_main.py
Courts and decisions
- Constitutional Court
anayasa_mcp_module - Court of Cassation
yargitay_mcp_module/client.py - Council of State
danistay_mcp_module/client.py - UYAP precedents
emsal_mcp_module/client.py - Jurisdiction disputes
uyusmazlik_mcp_module/client.py - Court of Accounts
sayistay_mcp_module/client.py
Institutional sources
- Public procurement
kik_mcp_module - Competition authority
rekabet_mcp_module/client.py - Personal data authority
kvkk_mcp_module/client.py - Tax rulings
gib_mcp_module/client.py - Banking authority
bddk_mcp_module/client.py - Telecommunications authority
btk_mcp_module/client.py - Insurance arbitration
sigorta_tahkim_mcp_module/client.py
Shared search services
- Bedesten API
bedesten_mcp_module/client.py - Semantic search
semantic_search
Other components
- MCP client
- Legal source services
- Brave Search
- Tavily Search
Connections 30
- MCP client → MCP tool server: sends MCP request
- MCP tool server → Constitutional Court: dispatches tools
mcp_server_main.py - MCP tool server → Court of Cassation: dispatches tools
mcp_server_main.py - MCP tool server → Council of State: dispatches tools
mcp_server_main.py - MCP tool server → UYAP precedents: dispatches tools
mcp_server_main.py - MCP tool server → Jurisdiction disputes: dispatches tools
mcp_server_main.py - MCP tool server → Court of Accounts: dispatches tools
mcp_server_main.py - MCP tool server → Public procurement: dispatches tools
mcp_server_main.py - MCP tool server → Competition authority: dispatches tools
mcp_server_main.py - MCP tool server → Personal data authority: dispatches tools
mcp_server_main.py - MCP tool server → Tax rulings: dispatches tools
mcp_server_main.py - MCP tool server → Banking authority: dispatches tools
mcp_server_main.py - MCP tool server → Telecommunications authority: dispatches tools
mcp_server_main.py - MCP tool server → Insurance arbitration: dispatches tools
mcp_server_main.py - MCP tool server → Bedesten API: dispatches tools
mcp_server_main.py - MCP tool server → Semantic search: may dispatch
mcp_server_main.py - Constitutional Court → Legal source services: searches and fetches
anayasa_mcp_module/api_client.py - Court of Cassation → Legal source services: searches decisions
yargitay_mcp_module/client.py - Council of State → Legal source services: searches decisions
- UYAP precedents → Legal source services: searches decisions
emsal_mcp_module/client.py - Jurisdiction disputes → Legal source services: searches decisions
- Court of Accounts → Legal source services: submits searches
sayistay_mcp_module/client.py - Public procurement → Legal source services: searches decisions
- Competition authority → Legal source services: fetches decisions
rekabet_mcp_module/client.py - Personal data authority → Brave Search: searches web
kvkk_mcp_module/client.py - Tax rulings → Legal source services: searches rulings
gib_mcp_module/client.py - Banking authority → Tavily Search: searches documents
bddk_mcp_module/client.py - Telecommunications authority → Legal source services: accesses decisions
- Insurance arbitration → Tavily Search: searches documents
sigorta_tahkim_mcp_module/client.py - Bedesten API → Legal source services: searches documents
bedesten_mcp_module/client.py