Sapling Logo

Built for AI Agents, Too

Sapling's free grammar, AI detection, and writing tools support WebMCP — an open browser standard that lets an AI agent call a page's tools directly instead of clicking around or scraping rendered text.

  • No install, no API key
  • Same free endpoints as the on-page tools
  • Silently inert in unsupported browsers
How a page registers a tool
document.modelContext.registerTool({
  name: 'check_grammar',
  description: 'Checks English text for ' +
    'grammar, spelling, and ' +
    'punctuation errors.',
  inputSchema: {
    type: 'object',
    properties: {
      text: { type: 'string' },
    },
    required: ['text'],
  },
  execute: async ({ text }) => {
    return await checkGrammar(text);
  },
});
A sample of the 30+ tools below
  • check_grammar
  • check_ai_generated_content
  • summarize_text
  • detect_and_redact_pii
Overview

What is WebMCP?

WebMCP is a draft W3C Community Group standard that lets a web page expose callable tools to an AI agent that's browsing on a person's behalf — the in-page counterpart to the Model Context Protocol used by backend AI assistants. Where a scraping-based agent has to guess which button does what, a WebMCP tool gives it a named function with a description and a typed schema, the same way an API does.

You browse with an agent

A WebMCP-capable AI browser agent (Chrome/Edge, currently behind an origin trial) visits a Sapling tool page on your behalf.

The page offers its tools

Sapling registers a tool for that page's checker — a name, a description, and a plain-JSON input shape — right in the browser, no server round-trip beyond the page load.

The agent calls it directly

The agent invokes the tool with your text and gets back structured results — edits, scores, entities — the same data the visible UI would show, without clicking through the page.

Capabilities

Agent-Ready Tools

Every tool below is backed by the same free page a human visitor would use — click through to try it yourself, or point a WebMCP-capable agent at the URL.

Grammar, Spelling & Style Popular

Catch grammar, spelling, and punctuation issues, in English and several other languages.

More languages on the grammar checker page.

AI Content & Safety

Detect AI-generated text, screen for unsafe content, and find or redact sensitive information.

Two ways to connect

WebMCP vs. the Sapling MCP Server

WebMCP This page

Built into sapling.ai's own free tool pages. No install, no API key — a WebMCP-capable browser agent calls the tool the moment it loads the page. Best for an agent that's already browsing the web on your behalf.

Sapling MCP Server

An installable @saplingai/mcp-server package for Claude Desktop, Claude Code, Cursor, and other MCP clients. Requires a Sapling API key. Best for an AI assistant that isn't a web browser at all.

See the MCP Server →

FAQ

Common questions

What is WebMCP?

WebMCP is an emerging W3C Community Group standard (document.modelContext.registerTool()) that lets a web page register callable tools for an AI agent controlling the visitor's browser. Instead of an agent guessing which button to click or scraping rendered text, it calls the page's own tool directly and gets a structured result back.

Which browsers support WebMCP today?

As of 2026, WebMCP ships only behind an origin trial in Chromium-based browsers (Chrome and Edge). In every other browser, document.modelContext is undefined and Sapling's tool registration silently no-ops — the page works exactly as it does for a human visitor, with no errors and no extra requests.

How is this different from the Sapling MCP Server?

The Sapling MCP Server (@saplingai/mcp-server) is an npm package any AI assistant — Claude Desktop, Claude Code, Cursor, and others — can install to call the Sapling API from a backend, with an API key. WebMCP is different: it requires no install and no API key. The tools are registered directly on sapling.ai's own free tool pages, so a WebMCP-capable browser agent visiting the site can use them immediately, the same way a human visitor would.

Does calling a WebMCP tool cost anything or use my API quota?

No. Each WebMCP tool calls the same free, public endpoint the page's own on-screen checker uses — there's no API key involved and no charge against any API plan. The usual fair-use rate limits on Sapling's free tools still apply.

Is submitted text sent anywhere new?

No. A WebMCP tool call goes to the exact same Sapling API endpoint the page's visible checker already calls — it's a different entry point into the same request, not a new data path.

Browse the full toolset

These agent-ready tools are a subset of everything Sapling offers for free, self-serve use.

Building your own application instead? Contact us about the Sapling API.