npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@saplingai/mcp-server

v0.1.6

Published

MCP server for using Sapling.ai language tools from Claude and other MCP-compatible assistants.

Readme

Sapling MCP Server

Use Sapling's grammar checking, AI detection, paraphrasing, summarization, sentiment analysis, language detection, and zero-shot text classification tools from Claude and other MCP-compatible assistants.

Setup

Create a Sapling API key from https://sapling.ai/docs/api/api-access. Node.js 18 or newer is required.

Claude Desktop

Add this to your Claude Desktop config:

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

Claude Code

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

Environment

  • SAPLING_API_KEY: Required Sapling API key.
  • SAPLING_API_BASE_URL: Optional API base URL. Defaults to https://api.sapling.ai.
  • SAPLING_MCP_TIMEOUT_MS: Optional request timeout. Defaults to 120000.

Tools

  • sapling_grammar_check: Grammar, spelling, punctuation, and style suggestions.
  • sapling_spell_check: Spelling-focused suggestions.
  • sapling_ai_detect: AI-generated text detection.
  • sapling_rephrase: Paraphrase or transform text.
  • sapling_summarize: Summarize text.
  • sapling_extract: Structured data extraction — name 1-20 fields (plain names or {name, type, description, required} objects, with type one of string, number, integer, boolean, date or list) and get back a data map of typed values, a per-field breakdown with the verbatim evidence span each value came from, and the names the text didn't yield in missing. Optional context describes what the document is. Values must be grounded in the text, so nothing is invented.
  • sapling_sentiment: Sentiment analysis.
  • sapling_language_detect: Language detection — top language with name and confidence, runner-up candidates (top_k), and an optional per-segment breakdown for mixed-language text (segments).
  • sapling_classify: Zero-shot text classification — assign one (or several, with multi_label) of your own labels (plain names or {name, description} objects, 2–20) to a text; returns the best label, applicable labels, per-label scores and a one-sentence rationale. Optional context describes what the texts are.
  • sapling_seo: SEO analysis and metadata — readability stats, target-keyword density (keywords), the page's top terms, and LLM-generated title tags, meta descriptions, slug and focus keywords; suggestions: false gives the free stats-only mode.
  • sapling_quality: Writing quality score (1–5), optionally per sentence (sentence_scores) and with an LLM-judged rubric — clarity/coherence/correctness/concision, summary, quoted issues with suggested rewrites (rubric, billed at a higher rate).
  • sapling_detect_pii: PII detection and redaction — emails, phone numbers, US SSNs, credit cards, IP addresses, IBANs and US bank routing numbers with exact character offsets; redact: true also returns redacted_text with [TYPE] placeholders.
  • sapling_safety: Content-safety scores — toxicity, profanity, harassment, hate speech, self-harm, sexual content and violence, each scored 0–1 with flagged categories (threshold, default 0.5).

Development

npm ci
npm test