I

Ipsa Verba

by afsozer · io.github.afsozer/ipsa-verba

Enables citation-safe legal research and document drafting over official Turkish case law and legislation, searching a local 11-million-decision corpus with full-text and semantic retrieval or querying live sources like Bedesten, AYM, Danıştay and mevzuat.gov.tr. It also supports citation verification, petition and bundle preparation, change reports, privacy redaction, and source health checks through core and loadable extended tool sets.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-afsozer-ipsa-verba": {
      "command": "uvx",
      "args": [
        "ipsa-verba"
      ],
      "env": {
        "EMSAL_MCP_HOST": "127.0.0.1",
        "EMSAL_MCP_PORT": "8790",
        "EMSAL_CACHE_PATH": "~/.emsal_mcp/cache.sqlite3",
        "EMSAL_BULK_VEC_DIR": "<VALUE>",
        "EMSAL_TOOL_PROFILE": "core",
        "EMSAL_TOOL_THREADS": "6",
        "EMSAL_TOOL_TIMEOUT": "180",
        "EMSAL_MCP_TRANSPORT": "stdio",
        "EMSAL_EMBEDDING_PROVIDER": "<VALUE>",
        "EMSAL_EMBEDDING_CACHE_DIR": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
EMSAL_MCP_HOST No HTTP dinleme adresi Default: 127.0.0.1
EMSAL_MCP_PORT No HTTP dinleme portu Default: 8790
EMSAL_CACHE_PATH No Korpus SQLite dosyası. Varsayılan: ~/.emsal_mcp/cache.sqlite3 Default: ~/.emsal_mcp/cache.sqlite3
EMSAL_BULK_VEC_DIR No fp16 vektör sidecar'ları (refine için). Örnek: <bench-dizini>\vec
EMSAL_TOOL_PROFILE No Araç profili: 'core' (varsayılan) veya 'full' Default: core
EMSAL_TOOL_THREADS No Sync araçları için thread havuzu (0 = kapalı) Default: 6
EMSAL_TOOL_TIMEOUT No Araç başına saniye sınırı Default: 180
EMSAL_MCP_TRANSPORT No Taşıma katmanı: 'stdio' (varsayılan) veya 'streamable-http' Default: stdio
EMSAL_EMBEDDING_PROVIDER No Gömme sağlayıcısı. Örnek: fastembed-multilingual-e5
EMSAL_EMBEDDING_CACHE_DIR No ONNX model önbelleği. Örnek: <veri-dizini>\models\fastembed

Similar servers