How aydincan/turk-hukuku-ictihat-mcp works
This repository is a local MCP server that exposes official Turkish case-law search and full-text retrieval to AI clients. The main workflow is a client tool call, server-side court selection and dispatch, then a court-specific search or document fetch returning structured citation data or readable decision text. Adli search combines Yargıtay and UYAP Emsal; AYM also supports a separate norm-review branch. The README documents the covered official sources. Edges reflect the shown dispatches, calls, and documented source endpoints; unsampled subsystems are represented only where documented.
Main entry points: server.py MCP server · yargitay.py Yargıtay client · uyap.py UYAP client · adli.py Combined search
Components 13
MCP interface
- MCP server
turk_hukuku_ictihat/server.py - Combined search
turk_hukuku_ictihat/adli.py
Court clients
- Yargıtay client
turk_hukuku_ictihat/yargitay.py - UYAP client
turk_hukuku_ictihat/uyap.py - Danıştay client
turk_hukuku_ictihat/danistay.py - AYM individual
turk_hukuku_ictihat/anayasa.py - AYM norm review
turk_hukuku_ictihat/anayasa.py
Shared logic
- Query helpers
turk_hukuku_ictihat/ortak.py
Other components
- AI client
- Bedesten API
- UYAP Emsal
- Danıştay API
- AYM API
Connections 17
- AI client → MCP server: calls tools
README.md - MCP server → Combined search: dispatches search
turk_hukuku_ictihat/server.py - MCP server → Yargıtay client: dispatches requests
turk_hukuku_ictihat/server.py - MCP server → UYAP client: dispatches requests
turk_hukuku_ictihat/server.py - MCP server → Danıştay client: dispatches requests
turk_hukuku_ictihat/server.py - MCP server → AYM individual: dispatches requests
turk_hukuku_ictihat/server.py - MCP server → AYM norm review: dispatches requests
turk_hukuku_ictihat/server.py - Combined search → Yargıtay client: searches or fetches
turk_hukuku_ictihat/adli.py - Combined search → UYAP client: searches or fetches
turk_hukuku_ictihat/adli.py - Yargıtay client → Query helpers: uses query helpers
turk_hukuku_ictihat/yargitay.py - UYAP client → Query helpers: uses query helpers
turk_hukuku_ictihat/uyap.py - AYM individual → Query helpers: uses query helper
turk_hukuku_ictihat/anayasa.py - Yargıtay client → Bedesten API: searches and fetches
turk_hukuku_ictihat/yargitay.py - UYAP client → UYAP Emsal: searches and fetches
turk_hukuku_ictihat/uyap.py - Danıştay client → Danıştay API: searches and fetches
README.md - AYM individual → AYM API: searches and fetches
turk_hukuku_ictihat/anayasa.py - AYM norm review → AYM API: searches and fetches
turk_hukuku_ictihat/anayasa.py