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

mcp-readability

v1.0.0

Published

Calculate readability scores and text complexity metrics for content optimization

Downloads

145

Readme

mcp-readability

Calculate readability scores and text complexity metrics for content optimization.

Install in Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "readability": {
      "command": "npx",
      "args": ["-y", "mcp-readability"]
    }
  }
}

Restart Claude Desktop. The analyze_readability tool is now available.

Tools

| Tool | Description | |------|-------------| | analyze_readability | Computes FK Reading Ease, FK Grade Level, SMOG Index, and ARI scores with reading level, audience label, text stats, and improvement suggestions |

Scores computed

| Score | Formula | What it means | |-------|---------|---------------| | Flesch Reading Ease | 206.835 − 1.015×(W/S) − 84.6×(Syl/W) | 0–100; higher = easier. 60–70 = plain English | | Flesch-Kincaid Grade | 0.39×(W/S) + 11.8×(Syl/W) − 15.59 | US school grade level required to understand | | SMOG Index | 3 + √(polysyllables × 30/sentences) | Grade level; best for health/consumer text | | ARI | 4.71×(C/W) + 0.5×(W/S) − 21.43 | Grade level based on character and word counts |

Reading level mapping (FK Grade)

| Grade | Level | Audience | |-------|-------|----------| | < 6 | Elementary | General public / young readers | | 6–8 | Middle School | Middle school students | | 9–12 | High School | High school students | | 13–16 | College | College students / professionals | | 17+ | Graduate | Graduate students / specialists |

Example

{
  "method": "tools/call",
  "params": {
    "name": "analyze_readability",
    "arguments": {
      "text": "The cat sat on the mat. It was a big mat. The cat liked it.",
      "include_suggestions": true
    }
  }
}

Response:

{
  "scores": {
    "flesch_reading_ease": 92.5,
    "flesch_kincaid_grade": 1.8,
    "smog_index": 3.0,
    "ari": 0.9
  },
  "reading_level": "Elementary (under 6th grade)",
  "audience": "General public / young readers",
  "stats": {
    "word_count": 18,
    "sentence_count": 3,
    "syllable_count": 18,
    "avg_words_per_sentence": 6.0,
    "avg_syllables_per_word": 1.0
  },
  "suggestions": ["No major readability issues found — text looks good for the target audience."],
  "summary": "Flesch Reading Ease: 92.5 | FK Grade: 1.8 | SMOG: 3.0 | ARI: 0.9 — Elementary (under 6th grade) (18 words, 3 sentences)"
}

Dev

npm install
npm run build
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.js

Part of Cosmic API

This MCP server is part of the Cosmic API collection. Browse all tools: npm search mcp cosmic-api