feat(yargi-mcp): wire yargi-mcp tools into Claude tool call pipeline

↗ view on GitHub · beerbottle90 · 2026-06-07 · bc264883

Add YARGI_MCP_TOOLS definitions (6 tools) and callYargiMcp() helper so
Claude can search Yargıtay/Danıştay decisions and Turkish legislation
directly via tool calls, not just via HTTP proxy routes.

Tools added:
- search_court_decisions → search_bedesten_unified
- get_court_decision → get_bedesten_document_markdown
- semantic_search_decisions → search_bedesten_semantic
- search_legislation → search_mevzuat
- get_legislation → get_mevzuat_document
- search_within_legislation → search_within_mevzuat

Tools are activated when YARGI_MCP_TOKEN env is set. System prompt
updated with yargi-mcp usage instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository beerbottle90/mike-oss
Author beerbottle90 <demirertug@gmail.com>
Authored
Parents b439473e
Stats 1 file changed , +283 , -2
Part of yargi-mcp proxy and Claude tool-call wiring

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-bc264883.md from inside the repo you want the change in.

⬇ Download capture-commit-bc264883.md