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

@lazymac/seo-analyzer-api

v1.0.0

Published

SEO analysis REST API & MCP server — analyze any webpage for SEO scores, issues, and recommendations

Readme

lazymac API Store Gumroad MCPize

SEO Analyzer API

Analyze any webpage for SEO scores, issues, and actionable recommendations. No external API keys needed — just pass a URL.

Features

  • Overall SEO Score (0-100) with letter grade (A-F)
  • 12 analysis categories: title, meta description, headings, images, links, Open Graph, technical SEO, Schema.org, content quality, and more
  • Side-by-side comparison of two URLs
  • MCP server for AI assistant integration
  • Zero external dependencies — uses only HTML parsing via cheerio

Quick Start

npm install
npm start
# Server runs on http://localhost:3400

API Endpoints

GET /api/v1/analyze

curl "http://localhost:3400/api/v1/analyze?url=https://example.com"

POST /api/v1/analyze

curl -X POST http://localhost:3400/api/v1/analyze \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

POST /api/v1/compare

curl -X POST http://localhost:3400/api/v1/compare \
  -H "Content-Type: application/json" \
  -d '{"url1": "https://github.com", "url2": "https://gitlab.com"}'

Response Example

{
  "url": "https://example.com",
  "overallScore": 72,
  "grade": "C",
  "scores": {
    "title": 100,
    "metaDescription": 0,
    "headings": 60,
    "images": 100,
    "links": 70,
    "openGraph": 0,
    "technical": 76,
    "schema": 0,
    "content": 30
  },
  "summary": {
    "totalIssues": 6,
    "issues": ["..."],
    "recommendations": ["..."]
  }
}

MCP Server

Use as an MCP tool in Claude Desktop, Cursor, or any MCP-compatible client:

{
  "mcpServers": {
    "seo-analyzer": {
      "command": "node",
      "args": ["/path/to/seo-analyzer-api/src/mcp-server.js"]
    }
  }
}

Tools:

  • analyze_seo — Full SEO analysis of a single URL
  • compare_seo — Compare two URLs side by side

Docker

docker build -t seo-analyzer-api .
docker run -p 3400:3400 seo-analyzer-api

Analysis Categories

| Category | Weight | What it checks | |----------|--------|---------------| | Title | 15% | Presence, length (30-60 chars), duplicates | | Meta Description | 10% | Presence, length (120-160 chars) | | Headings | 10% | H1 presence/uniqueness, hierarchy, nesting | | Images | 8% | Alt text presence on all images | | Links | 7% | Internal/external ratio, broken hrefs | | Open Graph | 10% | og:title, og:description, og:image, og:url, og:type, Twitter cards | | Technical | 20% | Viewport, canonical, lang, charset, favicon, HTML size, resource count | | Schema.org | 10% | JSON-LD, Microdata, RDFa structured data | | Content | 10% | Word count, reading time |

License

MIT