Get started

Sapling MCP Server

Grammar checking, AI content detection, paraphrasing, and the rest of Sapling's language tools — available directly inside Claude, Claude Code, and any other MCP-compatible AI assistant.

MCP server URL
https://mcp.sapling.ai/mcp
Add to Claude Code
claude mcp add --transport http sapling \
  https://mcp.sapling.ai/mcp
22 tools, including
  • sapling_grammar_check
  • sapling_ai_detect
  • sapling_rephrase
  • sapling_summarize
  • sapling_translate
  • sapling_detect_pii
  • sapling_tone
Works in any MCP client
  • claude.ai
  • Claude Desktop
  • Claude Code
  • Cursor
  • Windsurf
  • Zed
  • Cline
Overview

What is the Sapling MCP Server?

The Model Context Protocol is an open standard that lets AI assistants 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 your assistant to grammar-check a document, detect AI-generated content, paraphrase a sentence, or analyze sentiment without leaving the conversation.

Building or using a browser-based AI agent instead? Sapling's free tool pages also support WebMCP, so a supporting agent can call them directly with no server or API key involved.

You ask in plain English

"Check this email for grammar errors." Your assistant decides a Sapling tool is the right way to answer.

Your client calls Sapling

Connect to the hosted server at https://mcp.sapling.ai/mcp, or have your client start @saplingai/mcp-server locally over stdio.

Sapling answers

The tool calls the Sapling API and returns structured results — edits, scores, and suggestions — back into the conversation.

Capabilities

Available Tools

Tools take text (sapling_ai_detect_url takes a web page’s url, and autocomplete takes a short query) and return structured JSON your assistant can reason over. The hosted server has 22 tools. Every version of the local package includes the seven below, and newer releases add more.

Grammar & Spell Check Popular

sapling_grammar_check sapling_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.

Also on the hosted server:

sapling_ai_detect_url sapling_tone sapling_translate sapling_detect_pii sapling_ner sapling_classify sapling_extract sapling_simplify sapling_quality sapling_readability_statistics sapling_seo sapling_styleguide sapling_inclusive sapling_safety sapling_autocomplete

On the hosted server, spell check and language detection are named sapling_spellcheck and sapling_detect_language. The full tool reference lists which tools each local package version includes.

Get started

Quick Setup

Three steps, about two minutes. See the complete setup guide for other MCP clients and troubleshooting.

Get a Sapling API key

You need a Sapling API key; trial keys are available right after registration. The hosted server needs nothing installed. The local server needs Node.js 18 or newer (including npx). Keep keys in your client's configuration — not in prompts or committed files.

Add the server to your client

Hosted server

Add Sapling as a remote MCP server (in claude.ai and Claude Desktop, a custom connector) with these settings. On first connection your client opens a Sapling sign-in page where you choose which API key the connection uses.

Server URLhttps://mcp.sapling.ai/mcp
TransportStreamable HTTP
AuthOAuth (sign in with Sapling), or the header Authorization: Bearer YOUR_API_KEY
Server card/.well-known/mcp/server-card.json, for MCP catalogs and registries

In Claude Code:

Terminal
claude mcp add --transport http sapling \
  https://mcp.sapling.ai/mcp

Then run /mcp in Claude Code and choose Authenticate to sign in.

Claude Code

Run in your terminal, replacing YOUR_API_KEY with your Sapling API key:

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

Then run claude mcp list to confirm sapling is configured.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop:

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

Other MCP clients

Any client that accepts a command, arguments, and environment variables can run the server:

Transportstdio
Commandnpx
Arguments-y, @saplingai/mcp-server
EnvironmentSAPLING_API_KEY=YOUR_API_KEY

Your client starts the local process, which then calls https://api.sapling.ai. For a remote endpoint, use the hosted server at https://mcp.sapling.ai/mcp.

Approve the tools and start asking

Claude Code asks for approval the first time each Sapling tool runs. To pre-approve them — or if a call is 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.

Check this email for grammar errors.
Is this resume AI-generated?
Paraphrase this paragraph in a more formal tone.
What's the sentiment of these customer reviews?
Why Sapling

Built for production, not just demos

Enterprise Security

The package doesn't log or persist your key or your text. Optional no-data-retention mode, plus on-premises deployment for HIPAA and PCI compliance.

Low Latency

Sapling's API is optimized for real-time use. Grammar checks typically return in under 200 ms, so tool calls don't stall the conversation.

Multilingual

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

FAQ

Common questions

Which AI assistants work with the Sapling MCP server?

Any MCP client that supports remote servers, including claude.ai, Claude Desktop and Claude Code, can connect to the hosted server at https://mcp.sapling.ai/mcp. Clients that only support local stdio servers can run the npm package instead, with command npx, arguments -y @saplingai/mcp-server, and SAPLING_API_KEY in the environment.

What is the Sapling MCP server URL?

https://mcp.sapling.ai/mcp, over Streamable HTTP. It accepts OAuth sign-in with a Sapling account or a Sapling API key sent as Authorization: Bearer YOUR_API_KEY. MCP catalogs that read server cards can use https://sapling.ai/.well-known/mcp/server-card.json.

What do I need installed?

Nothing for the hosted server. The local server needs Node.js 18 or newer, including the npx command, and runs on your machine, calling the Sapling API over HTTPS.

Do I need a Sapling API key?

Yes. With the hosted server you sign in to Sapling and choose which of your API keys the connection uses, or send a key in the Authorization header. With the local server, set your key as the SAPLING_API_KEY environment variable. Trial keys are available after registration.

Is my text stored?

The MCP package does not log or persist your API key or submitted text. Tool inputs are sent to the configured Sapling API endpoint for processing. Contact us if you require no-data-retention or an on-premises deployment.

Can I point it at an on-premises Sapling deployment?

Yes. Set SAPLING_API_BASE_URL to your own Sapling endpoint. Only point it at an endpoint you trust — your API key and submitted text are sent there.

Put Sapling in your assistant

Grab an API key, add https://mcp.sapling.ai/mcp to your client, and start grammar-checking, detecting, and rephrasing from inside the tools you already use.

Need volume pricing, no-data-retention, or on-premises? Talk to us.