🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@rephrasy/mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rephrasy/mcp

MCP server for Rephrasy — humanize AI-generated text and check AI-detection scores from Claude, Cursor, or any MCP client.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Rephrasy MCP Server

npm

Use Rephrasy from Claude, Cursor, or any MCP client: humanize AI-generated text and check AI-detection scores without leaving your editor or agent workflow.

Two tools, one API key:

ToolWhat it does
humanizeRewrites AI-generated text in a natural, human style while preserving meaning
detectScores how likely a text is to be flagged as AI-written (overall + optional per-sentence)

Setup

1. Get an API key — sign in at rephrasy.ai → Account → API. Both tools bill against your Rephrasy plan.

2. Add the server to your client:

Claude Code

claude mcp add rephrasy -e REPHRASY_API_KEY=<your-key> -- npx -y @rephrasy/mcp

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "rephrasy": {
      "command": "npx",
      "args": ["-y", "@rephrasy/mcp"],
      "env": { "REPHRASY_API_KEY": "<your-key>" }
    }
  }
}

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "rephrasy": {
      "command": "npx",
      "args": ["-y", "@rephrasy/mcp"],
      "env": { "REPHRASY_API_KEY": "<your-key>" }
    }
  }
}

Until the package is on npm you can run it straight from GitHub: replace "args": ["-y", "@rephrasy/mcp"] with "args": ["-y", "github:rephrasyai/rephrasy-mcp"].

Tools

humanize

ParameterTypeRequiredDescription
textstringyesThe text to humanize
modelstringnoRephrasy model, default "v3"
stylestringnoWriting-style ID from your account to mimic a specific voice
languagestringnoOutput language hint (e.g. "en", "de"); defaults to input language

Returns the rewritten text plus the number of words charged.

detect

ParameterTypeRequiredDescription
textstringyesThe text to score (max 15,000 characters)
per_sentencebooleannoIf true, also returns a score per sentence

Returns JSON with scores.overall (lower = more human-like) and, in per-sentence mode, sentences.

Example prompts

  • "Humanize this paragraph, then run detect on the result to verify it."
  • "Rewrite my draft with the humanize tool using my writing style <style-id>."
  • "Check which sentences of this post read as AI-written."

Development

npm install
npm run build
REPHRASY_API_KEY=<key> node dist/index.js   # runs on stdio

License

MIT © Rephrasy

Keywords

mcp

FAQs

Package last updated on 01 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts