Türk Hukuku (tüketici + SGK)
Turkish consumer and social security law answers with sourced articles and deadlines
Türk Hukuku (tüketici + SGK) 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, API, Self-hosted
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add hukuk-mcp -- npx -y hukuk-mcpAdd --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": {
"hukuk-mcp": {
"command": "npx",
"args": [
"-y",
"hukuk-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"hukuk-mcp": {
"command": "npx",
"args": [
"-y",
"hukuk-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hukuk-mcp": {
"command": "npx",
"args": [
"-y",
"hukuk-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"hukuk-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hukuk-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add hukuk-mcp -- npx -y hukuk-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.hukuk-mcp]
command = "npx"
args = ["-y", "hukuk-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hukuk-mcp": {
"command": "npx",
"args": [
"-y",
"hukuk-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Or run: gemini mcp add -s user hukuk-mcp npx -- -y hukuk-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "hukuk-mcp": { "command": "npx", "args": [ "-y", "hukuk-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Türk Hukuku (tüketici + SGK)
Ask about a purchase, subscription, warranty, or social security problem in plain Turkish and get the applicable rights, time limits, the authority to apply to, and a step-by-step route. Every statement is tied to a specific article of the law or a court decision identifier, so the answer can be checked against the source.
The server ships with its own bundled corpus of 14 laws and a few thousand Court of Cassation and regional appeal decisions. Deadlines and monetary thresholds are calculated by a rule engine rather than generated by a language model, and queries run locally without calling the internet or an AI model.
It is aimed at consumers and insured persons rather than lawyers. Tenancy, employment severance, criminal and family law are explicitly outside its scope, and the server says so instead of improvising an answer.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- hukuk_sor
- Single-call answer with summary, rules, rights, route and decisions.
- derinles
- Opens an article, decision or topic by its identifier.
- ara
- Searches Court of Cassation and regional appeal decisions.
- hesapla
- Calculates deadlines, thresholds and competent authority.
- dogrula
- Checks legal citations for existence, repeal and scope.
What it does
- Sourced legal answers
- Each statement in a reply points to a statute article or a decision identifier.
- Rule-based deadline calculation
- Limitation periods, monetary thresholds and competent authority are computed by fixed rules.
- Citation checking
- A tool verifies that cited articles and decisions exist and flags repealed or out-of-scope references.
- Plain-language decision search
- Court decisions can be searched with everyday wording rather than legal terminology.
- Offline local operation
- Runs on the user's machine with the corpus bundled, with no queries sent to external servers.
- Multiple MCP clients
- Installable in Claude, Cursor, VS Code and Codex through stdio or a local HTTP endpoint.
Good for
- Checking whether a defective purchase can be returned or refunded under Turkish consumer law
- Finding the deadline and authority for filing a consumer complaint
- Understanding unemployment benefit or social security premium debt rights
- Checking the legal citations in a draft letter or petition before sending it
- Searching earlier court decisions on a consumer dispute described in everyday language
Pricing
Open source
Free and local; code under MIT licence.
Türk Hukuku (tüketici + SGK) FAQ
Does Türk Hukuku (tüketici + SGK) need an API key or an internet connection to answer queries?
No environment variables are required, and the README states that queries run locally without internet access or a generative model.
Which areas of law does Türk Hukuku (tüketici + SGK) cover?
Consumer law (including the 6502 law and related TBK, HMK, HAUK and İİK provisions) and social security (5510 and 4447). Tenancy, employment severance, criminal and family law are excluded.
How do I install Türk Hukuku (tüketici + SGK)?
Install Node.js 22.13 or later, then run npx -y hukuk-mcp, or add the JSON or TOML configuration shown for your MCP client.
Is the output legal advice?
No. The project states it does not replace a lawyer and recommends consulting one for serious matters.
Is Türk Hukuku (tüketici + SGK) free?
Yes. Türk Hukuku (tüketici + SGK) is open source, so you can use and self-host it for free.
How do I add Türk Hukuku (tüketici + SGK) to Claude Code?
Run this command in your terminal: claude mcp add hukuk-mcp -- npx -y hukuk-mcp
What are the best alternatives to Türk Hukuku (tüketici + SGK)?
The closest alternatives to Türk Hukuku (tüketici + SGK) are SmartHukuk Legal Research, Mütalaa MCP, TurkActuary, Tr Eli MCP and Türk Hukuku İçtihat.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.