Skip to content
MCP server

TurkActuary

Turkish insurance law search and actuarial calculators for AI agents

Runs locally

TurkActuary is an open-source MCP server for legal and government. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.1.5
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add turkactuary -- uvx turkactuary-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "turkactuary": {
      "command": "uvx",
      "args": [
        "turkactuary-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "turkactuary": {
      "command": "uvx",
      "args": [
        "turkactuary-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "turkactuary": {
      "command": "uvx",
      "args": [
        "turkactuary-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "turkactuary": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "turkactuary-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add turkactuary -- uvx turkactuary-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.turkactuary]
command = "uvx"
args = ["turkactuary-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "turkactuary": {
      "command": "uvx",
      "args": [
        "turkactuary-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user turkactuary uvx -- turkactuary-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "turkactuary": {
          "command": "uvx",
          "args": [
            "turkactuary-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About TurkActuary

TurkActuary is a local MCP server for Turkish insurance work. Its search tool covers consolidated insurance legislation including Law 5684, regulations and communiqués, 16 explanatory notes and 49 selected Court of Cassation decisions, 827 passages in all. Search is hybrid, using BM25 plus a local Qwen3 embedding model when one is running, and falls back to BM25 alone.

The calculators include present value, annuities, life insurance, chain ladder and Bornhuetter-Ferguson reserving, combined ratio, GLMs, and compensation for loss of earning capacity or loss of support following Court of Cassation practice. Every compensation result lists its assumptions and the decisions it relies on. Calculations use Decimal arithmetic and are tested.

The server runs offline, writes no files and downloads no models. The text is in Turkish with an English section, and it works with LM Studio, Claude Code, Codex, VS Code, Claude Desktop and Cursor. It is decision support, not an expert report.

Tools this server provides (19)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 19 names don't say.

From the server's own tool labels and tool names; not verified by us.

mevzuat_ara
Searches insurance legislation, explanatory notes and selected Court of Cassation decisions
belge_getir
Returns the full text of a passage by its ID
present_value
Present value calculation
annuity
Annuity calculation
life_insurance_pv
Term life insurance present value
chain_ladder
Claims reserve by chain ladder
bornhuetter_ferguson
Claims reserve by Bornhuetter-Ferguson
portfolio_metrics
Frequency, severity, pure premium and loss ratio
combined_ratio
Combined ratio
life_annuity_pv
Life-contingent annuity present value
life_cashflow_projection
Life policy cash flow projection
xl_layer_recovery
Excess-of-loss layer recovery
credibility_estimate
Credibility estimate
earned_exposure
Earned exposure
poisson_glm
Frequency GLM
gamma_severity_glm
Severity GLM
is_goremezlik
Permanent or temporary loss of earning capacity compensation
destekten_yoksun_kalma
Loss of support compensation per beneficiary
asgari_ucret
Monthly minimum wage 2008 to 2026, gross and net

What it does

Legislation and case search
Searches insurance law, notes and 49 Court of Cassation decisions across 827 passages.
Reserving methods
Chain ladder and Bornhuetter-Ferguson claims reserving with paid or incurred triangles.
Life and annuity maths
Present value, annuities, term life insurance and life-contingent cash flow projections.
Compensation calculators
Loss of earning capacity and loss of support, with assumptions and decision IDs listed.
Minimum wage table
Monthly minimum wage 2008 to 2026, gross and net.
Offline and local
Runs from a Python package with no network access or file writes.

Good for

  • Find the provision in Turkish insurance law that applies to a question
  • Estimate claims reserves from a loss triangle
  • Calculate bodily injury compensation under Court of Cassation practice
  • Compute combined ratio and portfolio metrics
  • Support an actuarial review with sourced legal references

Pricing

Open source

TurkActuary FAQ

How do I install TurkActuary?

Run it with uvx turkactuary-mcp, install the PyPI package, or clone the repository. Python 3.11 or later is needed.

Does TurkActuary need internet or an API key?

No. The server does not use the network, and the corpus and tables ship inside the package.

Which language does TurkActuary use?

The documentation and legal corpus are Turkish, with an English section.

Can TurkActuary replace an expert report?

No. The tools are decision support and do not replace an expert or authority opinion.

Which model should I use?

A model that is strong at tool calling; large models are recommended, around 27B parameters and up.

Is TurkActuary free?

Yes. TurkActuary is open source, so you can use and self-host it for free.

How do I add TurkActuary to Claude Code?

Run this command in your terminal: claude mcp add turkactuary -- uvx turkactuary-mcp

What are the best alternatives to TurkActuary?

The closest alternatives to TurkActuary are China Law MCP, x402 Micropayments MCP, USPTO & EPO Patent Claims, Family & Litigation MCP, Dosyai and Fed Contracts.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers