# humanpen-mcp [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/humanpen/humanpen-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 1313  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/humanpen-mcp

## Description
Lower a Word/PowerPoint/PDF file's AI-detection score so it reads as human-written.

## Tools
Capabilities this server exposes over MCP:

- **humanize_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.
- **free_rehumanize** — 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.
- **fix_citations** — 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.
- **condense_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.
- **translate_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.
- **read_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.
- **check_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.
- **get_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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `HUMANPEN_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What humanpen-mcp does

humanpen-mcp exposes HumanPen document operations through the Model Context Protocol. Its main workflow rewrites `.docx` and `.pptx` files to change how the text is expressed while retaining the document’s meaning and editable structure. A Turnitin or iThenticate AI Writing report can be supplied so only the passages identified by that report are targeted.

The server also supports citation conversion, document shortening, translation, detection-report parsing, job status checks, and credit-balance checks. Translation accepts `.docx`, `.pdf`, `.pptx`, `.xlsx`, `.epub`, `.html`, and `.txt`; the other document-editing tools have their own supported formats.

## How it works

The server runs as a standard stdio MCP process, typically launched with `npx -y humanpen-mcp`. The MCP client sends a file path and operation parameters to HumanPen. Editing jobs save their output beside the source file and return the resulting path. Jobs may finish asynchronously, so `check_job` can be used to retrieve the result after the initial tool call.

`read_detection_report` extracts the overall AI percentage and flagged passages from a Turnitin or iThenticate report without starting a paid job. That report can then guide `humanize_document`. If the result is still flagged, `free_rehumanize` accepts a fresh report for the same job and rewrites only the remaining flagged passages.

## Setup and configuration

Create a HumanPen account and API key, then expose it as `HUMANPEN_API_KEY`. The key should be passed through the MCP client’s environment configuration rather than placed in a URL. Node.js 18 or newer is required.

For example, Claude Code can register the server with:

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

The same stdio process can be configured in Claude Desktop, Cursor, Windsurf, Cline, VS Code, OpenAI Codex, Gemini CLI, and other MCP clients. It can also be built from source with `npm install`, `npm run build`, and a client command pointing to `dist/index.js`.

## Tools and capabilities

- `humanize_document` rewrites `.docx` or `.pptx` files, optionally using selected passages or a detection report. It preserves formatting, tables, images, citations, formulas, and related academic structure.
- `free_rehumanize` continues a completed humanization job once without credits when the new report meets the job-match, AI-percentage, retention, and daily-limit requirements.
- `fix_citations` converts in-text citations and reference lists among supported styles while leaving body text unchanged.
- `condense_document` shortens a `.docx` to a target word count while retaining meaning, structure, and citations.
- `translate_document` translates supported office, ebook, web, and text formats while retaining layout, tables, images, and formulas.
- `read_detection_report`, `check_job`, and `get_credit_balance` provide free report, job, and account information.

Paid operations require agreement before starting. Humanization costs 100 credits per 1,000 words, citation fixes cost 5, condensation costs 20, and translation costs 10, with a 10-credit minimum per job.

## Limitations and notes

A single input file can be up to 100 MB. Word-count controls are experimental, and restricting length can reduce the change in AI-detection rate. Free rehumanization is limited to one continuation per job and a daily cap; the uploaded report must match that job’s result by at least 90%, show at least 20% AI, and refer to a result retained for about seven days. Paid jobs consume credits according to the operation and processing volume.

_Full upstream README: https://allmcps.com/mcp/humanpen-mcp/readme_

