Sapling Logo

Sapling MCP Server

Use Sapling's grammar checking, AI content detection, paraphrasing, and other language tools directly from Claude, Claude Code, and any other MCP-compatible AI assistant.

What is the Sapling MCP Server?

The Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude call external tools and APIs in a structured way. The Sapling MCP Server exposes Sapling's language tools as MCP tools, so you can ask Claude to grammar-check a document, detect AI-generated content, paraphrase a sentence, or analyze sentiment — all without leaving your AI assistant.


Available Tools

Grammar & Spell Check Popular

sapling_grammar_checksapling_spell_check

Catch grammar errors, spelling mistakes, punctuation issues, and style problems in any text. Returns edit suggestions with types (preposition, verb tense, etc.) and confidence scores.

AI Content Detection

sapling_ai_detect

Detect whether text was written by a human or generated by GPT-5, Claude 4.5, Gemini 2.5, Qwen3, DeepSeek-V3, or other AI models. Returns an overall score plus per-sentence predictions.

Paraphrase & Rephrase

sapling_rephrase

Rewrite text with different tone, formality level, or style while preserving meaning. Useful for adapting content for different audiences.

Summarization

sapling_summarize

Generate concise summaries of longer documents, emails, or articles.

Sentiment Analysis

sapling_sentiment

Classify text as positive, negative, or neutral. Useful for reviewing customer feedback, tickets, or social media posts within an AI workflow.

Language Detection

sapling_language_detect

Identify the language of a text snippet. Supports 30+ languages including English, Spanish, French, German, Chinese, Japanese, Arabic, and more.


Quick Setup

Install Node.js 18 or newer, then add the Sapling MCP server to your Claude Desktop or Claude Code configuration. Replace YOUR_API_KEY with your Sapling API key. See the complete setup guide for other MCP clients and troubleshooting.

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "sapling": {
      "command": "npx",
      "args": ["-y", "@saplingai/mcp-server"],
      "env": {
        "SAPLING_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Claude Code — run in your terminal:

claude mcp add sapling --env SAPLING_API_KEY=YOUR_API_KEY \
  -- npx -y @saplingai/mcp-server

Claude Code asks for approval the first time each Sapling tool runs. To pre-approve the tools — or if a tool call gets denied instead of prompting — run /permissions and add an allow rule for mcp__sapling (all Sapling tools) or a single tool such as mcp__sapling__sapling_grammar_check. See tool permissions for details.

Once configured, you can ask Claude things like:


Enterprise Security

Optional no-data-retention mode. On-premises deployment available for HIPAA and PCI compliance.

Low Latency

Sapling's API is optimized for real-time use. Grammar checks typically return in under 200 ms.

Multilingual

Grammar checking and language detection across 30+ languages including Chinese, German, Spanish, Japanese, and more.