How egep1/yargi-mcp works
Yargı MCP exposes search and decision-document retrieval across Turkish courts and public institutions to MCP clients. The principal workflow is an MCP request, tool dispatch in the server, source-specific search or retrieval, and a structured or Markdown result. The README also documents semantic search and broad institutional coverage. Source excerpts show several client behaviors; connections for other source modules rely on the server’s indexed references and documented capabilities, so the graph avoids asserting details of their internal calls.
Main entry points: mcp_server_main.py MCP tool server · anayasa_mcp_module Constitutional Court · processor.py Semantic search · app.py App entry
Components 20
MCP entry
- MCP tool server
mcp_server_main.py - App entry
app.py
Court decisions
- Constitutional Court
anayasa_mcp_module - Court of Cassation
yargitay_mcp_module/client.py - Council of State
danistay_mcp_module/client.py - UYAP Emsal
emsal_mcp_module/client.py - Jurisdictional Disputes
uyusmazlik_mcp_module/client.py - Court of Accounts
sayistay_mcp_module - Bedesten decisions
bedesten_mcp_module/client.py
Public institutions
- Public Procurement
kik_mcp_module/client_v2.py - Competition Authority
rekabet_mcp_module/client.py - Data Protection Board
kvkk_mcp_module/client.py - Banking regulator
bddk_mcp_module/client.py - Telecommunications regulator
btk_mcp_module/client.py - Tax rulings
gib_mcp_module/client.py - Insurance arbitration
sigorta_tahkim_mcp_module/client.py
Search services
- Semantic search
semantic_search/processor.py - Text embedding
semantic_search/embedder.py - Vector store
semantic_search/vector_store.py
Other components
- MCP client
Connections 21
- MCP client → MCP tool server: sends MCP request
- App entry → MCP tool server: loads server
app.py - 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 Emsal: dispatches tools
mcp_server_main.py - MCP tool server → Jurisdictional Disputes: dispatches tools
mcp_server_main.py - MCP tool server → Court of Accounts: dispatches tools
mcp_server_main.py - MCP tool server → Bedesten decisions: 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 → Data Protection Board: dispatches tools
mcp_server_main.py - MCP tool server → Banking regulator: dispatches tools
mcp_server_main.py - MCP tool server → Telecommunications regulator: dispatches tools
mcp_server_main.py - MCP tool server → Tax rulings: dispatches tools
mcp_server_main.py - MCP tool server → Insurance arbitration: dispatches tools
mcp_server_main.py - MCP tool server → Semantic search: runs search
mcp_server_main.py - Semantic search → Text embedding: creates embeddings
semantic_search/processor.py - Semantic search → Vector store: queries vectors
semantic_search/processor.py - Constitutional Court → Constitutional Court: searches and retrieves
anayasa_mcp_module/client.py - Constitutional Court → Constitutional Court: uses shared API
anayasa_mcp_module/bireysel_client.py