Dayanak
Turkish court decisions and legislation search with citation checking for AI assistants
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 2.0.0
- Listing updated
- 1 day ago
About Dayanak
Dayanak is an open-source MCP server for legal and government. It runs locally on your machine and is started by your AI client.
Dayanak was built by a Turkish lawyer so that AI assistants stop inventing case numbers, chambers and statute articles. The assistant does not write a decision from memory: it searches, fetches the full text and compares each citation against that text. Decisions without retrievable full text are kept out of quotes and drafts.
The website describes a local corpus of about 11.1 million court decisions from the Court of Cassation, Council of State, Constitutional Court and appeal courts, plus roughly 305,000 articles of legislation. Search combines full-text and semantic matching, and live official sources such as Bedesten and mevzuat.gov.tr can be queried for newer material.
The author says it is used for the firm's own research as a single-user setup rather than a public service. The source is on GitHub under AGPL-3.0 and it installs from PyPI with uvx or pipx. The README lists 12 core tools by default and 36 more with a full tool profile.
Install
Run in a terminal
claude mcp add dayanak -- uvx dayanakAdd to claude_desktop_config.json
{
"mcpServers": {
"dayanak": {
"command": "uvx",
"args": [
"dayanak"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"dayanak": {
"command": "uvx",
"args": [
"dayanak"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"dayanak": {
"type": "stdio",
"command": "uvx",
"args": [
"dayanak"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dayanak": {
"command": "uvx",
"args": [
"dayanak"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dayanak": {
"command": "uvx",
"args": [
"dayanak"
]
}
}
}What it does
- Citation-safe retrieval
- Citations are checked against the full text of the decision rather than taken from the model's memory.
- Hybrid search
- Keyword full-text search and semantic search results are merged into one list.
- Local corpus
- Millions of decisions and legislation articles sit in a single SQLite file, with no network needed for local queries.
- Live official sources
- Adapters query Bedesten, the Constitutional Court, Council of State, mevzuat.gov.tr and the Official Gazette.
- Amendment records
- Tracks article amendments so older and current wording of a provision can be told apart.
- Tool profiles
- 12 core tools by default, with an environment variable to enable the full set of 48.
Good for
- Verify case citations before they go into a petition
- Find decisions on a legal issue worded differently from the query
- Look up the current text of a Turkish statute article
- Check which decisions a draft relies on have retrievable full text
Pricing
Open source
Open source under AGPL-3.0
Prices change. Check avfatihsozer.com before you buy.
Dayanak FAQ
Does it need the large local corpus?
No. The quick install works without it and queries official sources live; only the local-corpus search tools return empty results.
How is it installed?
Run it with uvx --from dayanak dayanak-server or install with pipx; it needs Python 3.11 or newer.
What licence is it under?
AGPL-3.0, per the project page and repository.
What was it called before?
The project was previously named Emsal MCP; the old emsal-mcp package now installs Dayanak.
Is Dayanak free?
Yes. Dayanak is open source, so you can use and self-host it for free.
How do I add Dayanak to Claude Code?
Run this command in your terminal: claude mcp add dayanak -- uvx dayanak
What are the best alternatives to Dayanak?
The closest alternatives to Dayanak are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.
Alternatives to Dayanak

NY LLC Publication (FileMyPublication)
MCP serverNew York LLC publication rules, deadline, county prices, clerks and notice text
- 8 tools
- Remote
- Free
- Legal and government
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
Not checked yet- 5 tools
- Remote
- Open source
- Legal and government

SupplyClub Catalog
MCP serverRussian statutes, Supreme Court guidance and court practice for AI assistants
- 3 tools
- Remote
- Free
- Legal and government
SynomosAI Governance MCP
MCP serverSelf-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan
Runs locally- 6 tools
- Open source
- Security
MedXpert 标准检索连接器
MCP serverRead-only local index of medical-device standards with official links, no standard text
Runs locally- 4 tools
- Free
- Legal and government

SigPen
MCP serverMCP server that drafts e-signature documents while you approve every send
Not checked yet- 13 tools
- Remote
- Freemium
- Files and documents