GPTHuman-Humanizer
Transform AI-generated text into natural, human-sounding content that successfully bypasses AI detectors.
README
GPTHuman MCP Server
A Model Context Protocol (MCP) server providing access to GPTHuman's API, the leading platform for rewriting AI-generated text into more natural, human-sounding prose, with AI-detector metadata returned when available. This allows any MCP-compatible client (Cursor, Claude Desktop, etc.) to call the humanizer tool natively.
The server is shipped as a single humanize_text tool that rewrites AI-generated text into a more natural, human-sounding variant, while preserving the requested tone and rewrite mode.
Quick Start
You can run the server directly and test it in 60 seconds:
export GPTHUMAN_API_KEY=...
npx -y @gpthuman/mcp-server
To test the server interactively with the MCP Inspector before wiring it up to Cursor or Claude:
npx @modelcontextprotocol/inspector npx -y @gpthuman/mcp-server
Requirements
- Node.js
>= 22.0.0 - A GPTHuman API key — get one at GPTHuman.ai
Configuration
The server reads a single environment variable:
| Variable | Required | Description |
|---|---|---|
GPTHUMAN_API_KEY |
Yes | Your GPTHuman API key. |
Installation
Cursor
Add the server to ~/.cursor/mcp.json (or your workspace .cursor/mcp.json):
{
"mcpServers": {
"gpthuman": {
"command": "npx",
"args": ["-y", "@gpthuman/mcp-server"],
"env": {
"GPTHUMAN_API_KEY": "your-api-key-here"
}
}
}
}
Security Note: While the example above places the
GPTHUMAN_API_KEYdirectly in JSON, we recommend using environment variables or local secret storage when possible. Never commit.cursor/mcp.jsonwith real API keys to version control.
Claude Desktop
Add it to claude_desktop_config.json:
{
"mcpServers": {
"gpthuman": {
"command": "npx",
"args": ["-y", "@gpthuman/mcp-server"],
"env": {
"GPTHUMAN_API_KEY": "your-api-key-here"
}
}
}
}
Other clients
Any MCP client that supports the stdio transport can run the server with:
GPTHUMAN_API_KEY=your-api-key-here npx -y @gpthuman/mcp-server
Tools
humanize_text
Transforms AI-generated text into a more natural, human-sounding variant designed to bypass AI detectors, while preserving the requested tone and rewrite mode.
Input parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text |
string | Yes | — | The text to humanize. Must be at least 300 characters and at most 2,000 words. |
tone |
enum | No | College |
Target reading level / tone. One of Standard, HighSchool, College, PhD. |
mode |
enum | No | Balanced |
Rewrite strategy. One of Professional, Balanced, Enhanced. |
Output
The tool returns two content blocks:
- The humanized text (the primary payload).
- A markdown summary with metadata: AI-detector human score, similarity to original, readability, detected language, applied tone and mode, input/output word and character counts, credit usage, remaining credit balance, and the request ID.
Example call (from an MCP client)
{
"name": "humanize_text",
"arguments": {
"text": "Your AI-generated text of at least 300 characters goes here...",
"tone": "College",
"mode": "Balanced"
}
}
Example Output
---
**Metadata Summary:**
- **Human Score:** 98%
- **Similarity:** 85%
- **Readability:** College-level
- **Credit Usage:** 142
- **Remaining Balance:** 4,858
- **Request ID:** req_xyz123
Example Prompts for MCP Clients
Once the server is configured, try giving your AI agent prompts like:
- “Humanize this generated blog intro in College tone using Balanced mode.”
- “Rewrite this product description in Professional mode.”
- “Use Enhanced mode but preserve the original meaning.”
Use the Remote MCP Endpoint
If you don’t want to run the MCP server locally, you can call GPTHuman’s hosted MCP endpoint directly over HTTP using JSON-RPC 2.0. This is useful for custom agents, backend workflows, automation platforms, or internal tools that want to integrate GPTHuman without managing a local MCP process.
Endpoint
https://api.gpthuman.ai/mcp
List available tools
Use tools/list to inspect the tools exposed by the GPTHuman MCP server.
curl --location 'https://api.gpthuman.ai/mcp' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tools/list",
"id": 1
}'
Humanize text
Use tools/call with the humanize_text tool to transform AI-generated text into more natural, human-sounding writing.
curl --location 'https://api.gpthuman.ai/mcp' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "humanize_text",
"arguments": {
"text": "Your AI-generated text of at least 300 characters goes here...",
"tone": "DESIRED_TONE",
"mode": "DESIRED_MODE",
"apiKey": "YOUR_GPTHUMAN_API_KEY"
}
}
}'
Parameters
text: The text you want to humanize.tone: The writing tone to use, such asCollege,Professional, or another supported tone.mode: The humanization mode, such asBalanced.apiKey: Your GPTHuman API key.
When to use this option
Use the remote MCP endpoint if you are building:
- custom AI agents
- backend automations
- workflow integrations
- internal writing tools
- no-code or low-code connectors
- systems where running a local MCP server is not practical
For desktop MCP clients like Claude Desktop, Cursor, or Windsurf, you can still use the local MCP server setup shown above.
Credit Usage & Privacy
- Credit Usage: Credits are consumed per word of output generated.
- Privacy: Submitted content is private and is not used for retraining AI models.
Troubleshooting
- 401: Invalid or missing API key. Verify your
GPTHUMAN_API_KEYis set correctly. - 400: The text provided is under 300 characters or over 2,000 words.
- 429: Rate limit exceeded or insufficient credits.
- Node version issue: Ensure you are using Node >=22.
humanScore: null: The detector score is unavailable for that specific language or content type.
Development
git clone https://github.com/GPTHuman-ai/mcp-server.git
cd mcp-server
npm install
cp .env.example .env
# Edit .env and set GPTHUMAN_API_KEY
npm run build
npm start
Available scripts:
| Script | Description |
|---|---|
npm run build |
Compile TypeScript to dist/. |
npm start |
Run the compiled server on the stdio transport. |
npm run format |
Format the codebase with Prettier. |
npm test |
Run the Jest test suite. |
Project structure
src/
stdio.ts Entry point — wires the server to the stdio transport.
McpServerFactory.ts Builds the McpServer and registers tools.
GptHumanAPI.ts Wrapper around the GPTHuman REST API.
HttpsClient.ts Thin axios wrapper with auth and timeout.
type.d.ts Shared request/response interfaces.
Links
License
Apache-2.0 — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。