/ ディレクトリ / プレイグラウンド / Yargı MCP
● コミュニティ saidsurucu ⚡ 即起動

Yargı MCP

作者 saidsurucu · saidsurucu/yargi-mcp

Read-only Turkish-law MCP — search rulings across Yargıtay, Danıştay, Anayasa Mahkemesi, and UYAP, with stable case-citation output.

Yargı MCP is a read-only bridge to Turkey's public legal databases. Useful for legal research workflows where you want Claude to cite primary sources rather than hallucinate. All data is publicly available; no credentials required.

なぜ使うのか

主な機能

ライブデモ

実際の動作

準備完了

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "yargi-mcp": {
      "command": "uvx",
      "args": [
        "yargi-mcp"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "yargi-mcp": {
      "command": "uvx",
      "args": [
        "yargi-mcp"
      ]
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "yargi-mcp": {
      "command": "uvx",
      "args": [
        "yargi-mcp"
      ]
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "yargi-mcp": {
      "command": "uvx",
      "args": [
        "yargi-mcp"
      ]
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "yargi-mcp",
      "command": "uvx",
      "args": [
        "yargi-mcp"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "yargi-mcp": {
      "command": {
        "path": "uvx",
        "args": [
          "yargi-mcp"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add yargi-mcp -- uvx yargi-mcp

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: Yargı MCP

Find Yargıtay precedents on a contract clause

👤 Developers ⏱ ~15 min intermediate

使うタイミング: You're drafting a memo and need actual case citations, not invented ones.

フロー
  1. Query
    yargi_search court=Yargıtay query="haksız fesih" daire=9.✓ コピーしました
    → Result list with case numbers
  2. Pull text
    Fetch full ruling for top 3.✓ コピーしました
    → Texts loaded
  3. Cite
    Compose memo citing each by E./K. number.✓ コピーしました
    → Memo with verified citations

結果: Memo with primary-source citations Claude couldn't hallucinate.

組み合わせ

他のMCPと組み合わせて10倍の力を

yargi-mcp + filesystem

Save the assembled memo to disk

Combine yargi-mcp with filesystem: Save the assembled memo to disk✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
search (see docs) Search across selected courts 1 call
get_ruling (see docs) Fetch full ruling by case ID 1 call

コストと制限

運用コスト

APIクォータ
Source-DB throttling applies
呼び出しあたりのトークン
Rulings can be long
金額
Free; public data
ヒント
Always pass court= to narrow results; broad searches are slow

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: No credentials
データ送信先: Turkish gov + UYAP public endpoints

トラブルシューティング

よくあるエラーと対処法

Search returns empty

Source DB sometimes blocks aggressive UAs; retry with reduced concurrency

Rulings truncated

Some old rulings published only as PDFs; tool returns text where available

代替案

Yargı MCP 他との比較

代替案代わりに使う場面トレードオフ
Manual Yargıtay portalSingle-shot researchNo programmatic citation extraction

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る