yontu
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
yontu
Turkish humanizer, TDK linter and style guide for AI agents. Türkçe metni yontar: biçim verir, inceltir.
yontu is a Turkish humanizer (Türkçe humanizer) and TDK spelling and punctuation linter, shipped as an agent skill, an offline CLI and an MCP server. It flags AI and translation patterns in Turkish text, checks spelling and punctuation against the Türk Dil Kurumu (TDK) rules, and fits wording to the genre the text is written for. It works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client. English humanizers do little for Turkish, so every rule here was written for Turkish.
Why
Most humanizers target English. Their rules come from lists such as Wikipedia's "Signs of AI writing", built on English words like "delve" and "tapestry". Run them on Turkish and they find almost nothing. A few patterns, such as the em dash, carry over, but only with a Turkish rule behind them (TDK allows the dash for dialogue only). Most Turkish AI text fails in other ways:
-mAktAdIrat the end of every sentence, and long-ArAkchainscalques such as
önemli bir rol oynamaktadırandbu bağlamdawrappers that replace a case suffix: "konusunda", "hususunda", "bir şekilde"
chatbot leftovers:
Umarım bu e-posta sizi iyi bulur,Umarım yardımcı olurspelling and punctuation errors that a careful Turkish writer would not make:
herşey, a comma before "ve",Türkçe'de
Turkish also changes shape with context. An academic abstract, an ad, a blog post, a README, a commit message and a court petition each have their own sentence length, formality, pronouns and connectives. A rule that fixes one breaks another: -mAktAdIr is normal in an abstract and a tell in a blog post. Word choice matters as much: hızlı bir şekilde is usually just "hızla".
yontu encodes these as rules with sources, per-genre profiles and a word list, and gives the agent a workflow that keeps the meaning intact.
Related MCP server: slop-guard
What's in the box
Part | What it is |
Skill |
|
Linter | Python 3.9+, standard library only, no network. Layers |
Profiles | 28 genres (tür) under 17 registers: sentence length, density, formality, pronouns, mood and tense, connectives, vocabulary, punctuation, structure |
Fidelity gate |
|
MCP server |
|
Hooks | Post-edit or stop hooks, depending on the agent: Claude Code, Codex, Cursor, Gemini CLI, Copilot, Antigravity. Details in |
Before and after
From skills/yontu/references/ornekler.md (README genre):
yontu: Türkçe Metinler İçin Modern Ve Güçlü Bir Linter
yontu, Türkçe metinlerinizi analiz ederek yazım hatalarını, noktalama sorunlarını ve yapay zekâ izlerini tespit eden, modern, güçlü ve kullanıcı dostu bir araçtır. Projenin temel amacı, yazım kalitenizi bir üst seviyeye taşımaktır!
Kullanım: Analiz işlemini gerçekleştirmek için aşağıdaki komutu kolayca çalıştırabilirsiniz:
yontu lint metin.md
yontu: Türkçe metinler için linter
yontu, Türkçe metindeki yazım hatalarını, noktalama sorunlarını ve yapay zekâ izlerini bulan
bir linterdir.
Kullanım: `yontu lint metin.md`Kept: the name, the three things it finds, the command. Dropped: the adjective triad, the exclamation, "kolayca". The title moved to sentence case. Nothing was added.
Quick start
Claude Code (skill, MCP server, hooks)
/plugin marketplace add senrecep/yontu
/plugin install yontu@yontuThis is the only install path that also adds hooks. Commands: /yontu:turkcelestir, /yontu:yontu-lint.
Any agent that reads skill folders
npx skills add senrecep/yontuThis copies the skill only: no MCP server, no hooks.
CLI
pipx install yontu # puts yontu on PATH
uvx yontu lint metin.md # no installFrom a checkout, without installing: python3 skills/yontu/scripts/yontu lint metin.md.
MCP server
claude mcp add yontu -- uvx yontu mcpOther clients:
{
"mcpServers": {
"yontu": { "command": "uvx", "args": ["yontu", "mcp"] }
}
}Per agent
Agent | Skill | MCP | Hooks |
Claude Code | plugin | plugin | plugin |
Codex CLI |
|
|
|
Gemini CLI | extension | extension | settings file |
Cursor |
|
|
|
claude.ai (web, mobile) | zip upload, see folder | planned for v0.2 | none |
OpenCode, Hermes, Windsurf, Copilot, Cline, Zed, Claude Desktop, Antigravity | see folder | see folder | partial |
Config files, exact paths and what was tested on which version: integrations/.
Install profiles
Profile | What loads | Claude Code | Other agents |
| the skill; it runs the linter through the shell |
|
|
|
| use |
|
|
|
|
|
install.sh is a dry run without --apply and writes only the skill folder. In Claude Code, install one of the two plugins, not both.
Context cost: about 150 tokens always on for the full plugin before its MCP tools, about 130 for lite, and about 3,900 tokens for a whole blog rewrite. Numbers, method and what loads when: docs/CONTEXT.md.
Tools
MCP tool | What it does |
| Findings with layer, rule id, level, span and suggestion ( |
| Fidelity gate between two versions |
| Guidance for one genre by tür id, or a reference file: its section list first, then one section |
| Applies safe |
| Sentence length, readability, density |
| Message, source and examples for a rule id |
| All registers and genres |
| Thresholds for one genre or register |
The server lists the first three tools by default. Set YONTU_MCP_TOOLS=full in its env to list all eight. It answers the other five either way, but most clients show the model only listed tools.
Prompts: turkcelestir (translate or adapt into Turkish), yogunlastir (tighten a text).
CLI
yontu lint FILE [--register SLUG] [--tur ID] [--layer tdk,ai-iz] [--min-level warning] [--format json]
yontu lint FILE --fix [--write] # safe tdk fixes only; --write saves the file
yontu compare OLD NEW # fidelity gate
yontu stats FILE # sentence length, Ateşman readability, density
yontu rules [--layer tdk] # list rules
yontu explain AI-E6 # one rule with source and examples
yontu profiles [ID] # genres and registersFILE can be - for standard input. lint and compare exit with 1 when they report an error, and with 2 on a usage error.
Without --register or --tur, yontu guesses the register from the content and falls back to notr, where every style rule is info.
Project settings go in .yontu.json (keys register, tur, enable, rules). Silence a rule in place with <!-- yontu-disable-next-line KS-01 -->, or a range with <!-- yontu-disable KS-01 --> and <!-- yontu-enable KS-01 -->.
Profiles
--register picks the register, --tur the genre. A genre implies its register.
Register | Genres ( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| none: all style rules at |
hukuk and edebi get the tdk layer and the fidelity gate only. The skill does not rewrite them unless asked.
Rule layers
Layer | What it checks | Levels |
| Spelling and punctuation from the TDK Yazım Kılavuzu and Güncel Türkçe Sözlük |
|
| AI and translation patterns |
|
| Fit to the genre profile | mostly |
| Wordy phrasing, light verbs, wrappers | always |
Every tdk rule names the TDK Yazım Kılavuzu section or Güncel Türkçe Sözlük entry it comes from. The links are in skills/yontu/references/kaynaklar.md. Autofix runs only on deterministic rules with near-zero false positives (herşey → "her şey", Türkçe'de → "Türkçede"). Dictionary redirects are never autofixed.
Every ai-iz rule carries an evidence label: veri (measured on a corpus), hakem (agreed by reviewers) or hipotez (observed, not measured). A hipotez rule never goes above info, and a hakem rule never goes above warning. The v0.1 rule set has no veri rules yet; see ROADMAP.md.
Run yontu rules for the full list and yontu explain ID for any rule.
Limitations
Not an AI detector. yontu reports patterns. A finding does not mean a text was machine-written, and a clean report does not mean it was not. Passing a detector is not a goal.
Heuristics. The
ai-iz,stilandyogunlukrules are regular expressions and counts over surface forms, with no morphological analysis. Expect false positives, mostly atinfo.Uncalibrated thresholds. Sentence bands and density thresholds come from the literature and from review, not from a human baseline corpus. Until calibration they stay at
infoorwarning.No dictionary. The linter catches known misspellings, not every misspelling.
Contributing
See CONTRIBUTING.md. New rules need a source, an evidence label and fixtures. Turkish examples of clean human writing in any genre are the most useful contribution: they are what calibration needs.
Credits
Türk Dil Kurumu: Yazım Kuralları and Güncel Türkçe Sözlük.
turkish-humanify by Oguzhan Durmaz (MIT) and turkce-humanizer by bushrabeg (MIT), whose ideas were rewritten and checked against TDK.
Wikipedia's "Signs of AI writing", for the structure of the pattern catalog.
Full source list:
skills/yontu/references/kaynaklar.md.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent MCP: 65 tools — 5-chain verification, risk, prediction & crypto trends, 17 web tools.
Agent MCP: 65 tools — 5-chain verification, risk, prediction & crypto trends, 17 web tools.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Free OpenAI-compatible inference with signed provenance receipts and 3 focused MCP tools.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides MCP-compatible AI clients with offline text analysis and rewriting tools, including statistics, extractive summaries, keywords, readability scores, case conversion, entity extraction, and diffing, all running locally without API keys or network calls.7MIT
- FlicenseNot gradedqualityAmaintenanceEnables agents to analyze prose for formulaic AI writing patterns and return scores, band labels, violations, and improvement advice. Supports checking inline text or files through MCP tools without external LLM or API calls.-
- FlicenseNot gradedqualityAmaintenanceEnables agents to analyze prose for formulaic AI writing patterns and return a 0–100 score, band label, violations with context, and concrete advice through its MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables agents to score prose from 0–100 for formulaic AI writing patterns and retrieve specific violations with contextual advice. Supports analysis of text strings or files through MCP tools without LLM judges or API calls.-