/ Diretório / Playground / Yargı MCP
● Comunidade saidsurucu ⚡ Instantâneo

Yargı MCP

por 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.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

pronto

Instalar

Escolha seu cliente

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

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

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

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

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

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

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

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

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

O Continue usa um array de objetos de servidor em vez de um map.

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

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

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

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: Yargı MCP

Find Yargıtay precedents on a contract clause

👤 Developers ⏱ ~15 min intermediate

Quando usar: You're drafting a memo and need actual case citations, not invented ones.

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

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

Combinações

Combine com outros MCPs para 10× de alavancagem

yargi-mcp + filesystem

Save the assembled memo to disk

Combine yargi-mcp with filesystem: Save the assembled memo to disk✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
search (see docs) Search across selected courts 1 call
get_ruling (see docs) Fetch full ruling by case ID 1 call

Custo e limites

O que custa rodar

Cota de API
Source-DB throttling applies
Tokens por chamada
Rulings can be long
Monetário
Free; public data
Dica
Always pass court= to narrow results; broad searches are slow

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: No credentials
Saída de dados: Turkish gov + UYAP public endpoints

Solução de problemas

Erros comuns e correções

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

Alternativas

Yargı MCP vs. outros

AlternativaQuando usarTroca
Manual Yargıtay portalSingle-shot researchNo programmatic citation extraction

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills