Humanpen Mcp

io.github.humanpen由 GitHub 账号 humanpen 发布v1.4.4更新于 Nov 1, 2026

Document-level AI humanizer for .docx/.pptx: whole file, selected passages, or flagged text.

概览

AI 生成的概览

HumanPen MCP 可重写 .docx/.pptx 文件,使其读起来像人写、降低 AI 检测分数,并提供引文、压缩与翻译功能。

可以做什么
  • 重写 .docx 或 .pptx 使其读起来像人写,可只针对 Turnitin/iThenticate 报告中标出的段落
  • 用新的检测报告免费继续已完成的去 AI 化任务
  • 读取 Turnitin 或 iThenticate AI 写作报告 PDF,返回整体 AI 百分比与标出段落
  • 把文内引文与参考文献转换为指定格式、把 .docx 压缩到目标字数,或在多种语言间翻译文档
  • 查询任务状态并下载结果,以及查看账户剩余额度
适用场景
适用于有 Word 或 PowerPoint 文档被 AI 检测工具标出、希望保留格式、表格与引文就地重写的场景,也适合让助手批量调整引文格式、压缩或翻译文档。
运行要求
通过 npx(Node.js)以 stdio 在本地运行,由 MCP 客户端启动。需要 HumanPen 账户,并在 HUMANPEN_API_KEY 环境变量中提供 API 密钥。需要访问 HumanPen API 的网络连接,文档会被上传处理。
安装前请注意
多数工具会消耗额度:去 AI 化每 1,000 词 100 额度,引文修正 5,压缩 20,翻译 10,每项任务最低 10 额度;服务器要求助手先说明费用并取得同意。文档会上传到 HumanPen 的 API,并在服务端保留约 7 天。结果会写入源文件旁边。API 密钥属于机密,不应放在 URL 中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Humanpen Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

humanpen-mcp

[License] [MCP] [Node]

English · 简体中文 · 日本語

Website · Pricing · Developer docs

Keywords: ai humanizer, mcp server, model context protocol, turnitin ai detection, reduce ai score, humanize ai text, bypass ai detection, docx ai humanizer, ai content rewriter, ai writing tool, claude mcp, cursor mcp, ithenticate ai report

Humanize what's flagged. Preserve the rest. An MCP server for HumanPen — a document-level AI humanizer that can humanize an entire document, rewrite user-selected passages, or automatically target flagged text from a Turnitin / iThenticate AI-detection report, editing .docx / .pptx files in place while preserving formatting, tables, images, citations, and formulas. Also converts citations between 12 styles, condenses to a word budget, and translates between 12 languages.

bash
claude mcp add humanpen -s user -e HUMANPEN_API_KEY=hp_your_key -- npx -y humanpen-mcp

Features

  • Selective rewriting by detection report — import a Turnitin / iThenticate AI Writing Report to pinpoint flagged passages; unflagged content is never touched
  • Format in, format out — a DOCX comes back as a DOCX, a PPTX as a PPTX; formatting, tables, images, and formulas survive intact and the result is still editable
  • Academic structure preserved — in-text citations, reference lists, footnotes, TOC fields, cross-references, figure numbering, equations, and special formatting are treated as protected objects
  • No error injection — restructures meaning and syntax to change expression; never adds grammar mistakes, spelling errors, or awkward sentences as a detection strategy
  • Full-length documents — no per-input word limit; a single file can be up to 100 MB, no splitting into text boxes
  • Free to keep going — still flagged? Re-humanize for free with a fresh report until the AI rate falls to * or 0%
  • Word-count control (experimental) — set a min/max word range to keep the output within a target length
  • Pay per rewrite — billed on words actually changed, not the whole document; failed and cancelled jobs cost nothing; credits never expire

Get a key

Sign up at https://humanpen.net and create a key at https://humanpen.net/settings/api-keys. New accounts start with free credits, enough to put a document through and see what comes back.

The key goes in an environment variable, never in a URL. URLs end up in server logs, proxy logs, shell history and screenshots.

Install

Claude Code
bash
claude mcp add humanpen -s user -e HUMANPEN_API_KEY=hp_your_key -- npx -y humanpen-mcp

-s user puts it in every project. The default scope is local, which loads the server only in the directory you ran the command from — and looks like a broken install the first time you open Claude Code somewhere else.

If your version rejects -e (reported upstream), use the JSON form:

bash
claude mcp add-json humanpen -s user '{"command":"npx","args":["-y","humanpen-mcp"],"env":{"HUMANPEN_API_KEY":"hp_your_key"}}'
OpenAI Codex

In ~/.codex/config.toml:

toml
[mcp_servers.humanpen]command = "npx"args = ["-y", "humanpen-mcp"]env = { HUMANPEN_API_KEY = "hp_your_key" }
CodeBuddy / WorkBuddy
bash
codebuddy mcp add --scope user humanpen -- npx -y humanpen-mcp

It also reads ${VAR} in its config, so the key can stay in your environment instead of the file:

json
{ "mcpServers": { "humanpen": {  "command": "npx", "args": ["-y", "humanpen-mcp"],  "env": { "HUMANPEN_API_KEY": "${HUMANPEN_API_KEY}" }} } }

~/.codebuddy/.mcp.json for every project, <project>/.mcp.json for one.

Gemini CLI

It has gemini mcp add, but the argument order differs between versions — run gemini mcp add --help and follow the usage line it prints. Pass the key with -e HUMANPEN_API_KEY=... and the scope with -s user; the default is project, which is only the directory you ran it in.

Claude Desktop

In claude_desktop_config.json. Use the absolute path to npx — run which npx and paste the result: a desktop app is launched by the OS with a minimal PATH, so the bare name that works in your terminal often is not found here, and the only symptom is that the tools never appear.

json
{  "mcpServers": {    "humanpen": {      "command": "npx",      "args": ["-y", "humanpen-mcp"],      "env": { "HUMANPEN_API_KEY": "hp_your_key" }    }  }}
Cursor / Windsurf / Cline

All three read the same shape — Cursor in .cursor/mcp.json, Windsurf in ~/.codeium/windsurf/mcp_config.json, Cline in its MCP settings panel:

json
{  "mcpServers": {    "humanpen": {      "command": "npx",      "args": ["-y", "humanpen-mcp"],      "env": { "HUMANPEN_API_KEY": "hp_your_key" }    }  }}
OpenCode

In opencode.json — the key names differ slightly from everyone else's:

json
{  "mcp": {    "humanpen": {      "type": "local",      "command": ["npx", "-y", "humanpen-mcp"],      "environment": { "HUMANPEN_API_KEY": "hp_your_key" }    }  }}
VS Code — keeps the key out of the config file
json
{  "mcp": {    "inputs": [      { "type": "promptString", "id": "humanpenKey", "description": "HumanPen API key", "password": true }    ],    "servers": {      "humanpen": {        "command": "npx",        "args": ["-y", "humanpen-mcp"],        "env": { "HUMANPEN_API_KEY": "${input:humanpenKey}" }      }    }  }}

VS Code prompts once and stores the key in its secret store, so it never lands in a file you might commit.

From source, or before the npm release lands
bash
git clone https://github.com/humanpen/humanpen-mcpcd humanpen-mcp && npm install && npm run build

Then point your client at node /path/to/humanpen-mcp/dist/index.js instead of npx -y humanpen-mcp.

Any MCP client works: this is a plain stdio server started by npx -y humanpen-mcp with HUMANPEN_API_KEY in its environment.

Tools

ToolWhat it doesCredits
humanize_documentRewrite a .docx/.pptx to read as human-written and score lower on AI detectors. Optionally take a detection report to rewrite only its flagged passages. Length can be held to a whole-document word range, or to per-passage ranges (experimental — limiting words weakens AI-rate reduction).yes
free_rehumanizeContinue a finished humanize_document job for free: upload a fresh detection report for its result and only the still-flagged passages are rewritten. Once per job, with a daily cap; the report must match that result.free
fix_citationsConvert in-text citations and the reference list to APA 7, MLA 9, Harvard, Chicago, IEEE, Vancouver, GB/T 7714, AMA, ACS or OSCOLA. Body text untouched.yes
condense_documentShorten a .docx to a target word count, keeping structure and citations.yes
translate_documentTranslate .docx/.pdf/.pptx/.xlsx/.epub/.html/.txt between 12 languages, keeping layout.yes
read_detection_reportRead a Turnitin or iThenticate AI Writing report: overall AI percentage and the flagged passages.free
check_jobLook up a job and download its result.free
get_credit_balanceCredits remaining.free

Two things worth knowing

Jobs take minutes; tool calls do not. Each operation waits about 55 seconds — enough for most documents — then returns a job_id with a note to call check_job. The work continues on the server either way; nothing is lost by the tool returning early.

ai_percent can be null, and that is usually good news. Turnitin prints * instead of a number whenever AI writing comes in under 20% — it will not quantify that band, because too much of it is false positives. So null means "under 20%, and Turnitin will say no more", never "0%" and never "no result".

Questions people ask

Will this bring a Turnitin AI score down? Usually under 20% in one pass with balanced — the threshold below which Turnitin prints * instead of a number. If it misses, hand the result back with the new report; only the passages still flagged get rewritten.

Does it work with iThenticate too? Yes — pass either report. The format is read from the file.

Is my document sent to the model? No. It uploads the file and answers with a path. A 40-page paper costs no tokens.

Privacy Policy

Documents you pass to a tool are uploaded over HTTPS to HumanPen's API (api.humanpen.net) for processing; results are written back to your disk, and processed files are kept server-side for about 7 days so check_job and the free re-humanize pass can find them. Document contents never enter the model's context. The full policy — what is collected, retention, and how to reach us — is at https://humanpen.net/legal/privacy.

Development

bash
npm installnpm run buildHUMANPEN_API_KEY=hp_... node selftest.mjs sample.docx report.pdf

selftest.mjs spawns the built server and talks JSON-RPC to it over stdio the way a real client does — proving the protocol, the tool registrations, stdout hygiene and one end-to-end job, not merely that the functions return. It needs a live key and spends credits, so it is a pre-release check rather than a CI step.

Links

Apache-2.0

来源:README.md,提交 705597a

工具

8

humanize_document

Humanize a document

Rewrite a .docx or .pptx so it reads as human-written and scores lower on AI detectors, keeping meaning, citations, tables and layout. Optionally pass a Turnitin/iThenticate AI report to rewrite only the passages it flagged. If a fresh report still flags the result, run this tool again on the rewritten file with that new report - only the still-flagged passages are touched, and balanced remains the right strategy for the second pass. Saves the result next to the source and returns its path. COSTS CREDITS at 100 per 1,000 words processed (10 minimum) - say so and get agreement first.

输入参数segmentsstrategymax_wordsmin_wordsoutput_pathreport_pathinstructionswait_secondsdocument_path必填

free_rehumanize

Re-humanize a job's still-flagged passages for free

Continue a finished humanize job for FREE. Upload a fresh detection report for that job's result; only the passages it still flags are rewritten, at no credit cost. The server enforces strict limits: one free continuation per job, a per-day cap, the report must be of THAT job's own result (>=90% match) and show >=20% AI, and the result must still exist (kept ~7 days). If a limit is not met it returns a clear reason - relay it and stop; do not retry or silently fall back to a paid job. Pass the job_id a prior humanize_document (or check_job) returned.

输入参数job_id必填segmentsoutput_pathreport_path必填instructionswait_seconds

fix_citations

Convert citation format

Rewrite a .docx's in-text citations and reference list into one target style, leaving the body text alone. Saves the result next to the source and returns its path. COSTS CREDITS at 5 per 1,000 words processed (10 minimum) - say so and get agreement first.

输入参数style必填output_pathinstructionswait_secondsdocument_path必填

condense_document

Condense a document

Shorten a .docx to a target word count, keeping meaning, structure and citations. Saves the result next to the source and returns its path. COSTS CREDITS at 20 per 1,000 words processed (10 minimum) - say so and get agreement first.

输入参数max_words必填output_pathinstructionswait_secondsdocument_path必填

translate_document

Translate a document

Translate a document into another language while keeping its layout, tables, images and formulas. Takes .docx, .pdf, .pptx, .xlsx, .epub, .html and .txt. Saves the result next to the source and returns its path. COSTS CREDITS at 10 per 1,000 words processed (10 minimum) - say so and get agreement first.

输入参数output_pathsource_langtarget_lang必填wait_secondsdocument_path必填

read_detection_report

Read an AI-detection report

Read a Turnitin or iThenticate AI Writing report PDF: returns the overall AI percentage and the flagged passages. Free - reads the file without starting a job. Pass the same report to humanize_document to rewrite only what was flagged.

输入参数typereport_path必填include_segments

check_job

Check a job

Look up a job by id, and download its result if it has finished. Use this after a tool returned before the job was done.

输入参数job_id必填output_pathdocument_path

get_credit_balance

Check the credit balance

How many credits the account has. Per 1,000 words processed: humanize 100 credits, citation fixes 5, condensing 20, translation 10, with a 10-credit minimum per job. Worth checking before a large document.

无需输入参数。

版本历史

2
  1. v1.4.4最新Oct 25, 2026
  2. v1.4.3Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分