DEV Community

2x lazymac
2x lazymac

Posted on • Originally published at api.lazy-mac.com

How to Use the SEO Analyzer API — Free REST + MCP Server

You can check your SEO manually in Chrome DevTools... or you can automate it. This API analyzes any URL for title tags, meta descriptions, heading structure, Open Graph, schema markup, and returns an overall score with specific recommendations.

Try It Right Now

curl -s -X POST https://api.lazy-mac.com/seo/api/v1/analyze \
  -H "Content-Type: application/json" \
  -d '{"url": "https://dev.to"}' | jq '.overallScore, .grade, .scores'
Enter fullscreen mode Exit fullscreen mode

Response:

{
  "overallScore": 62,
  "grade": "D",
  "scores": {
    "title": 15,
    "metaDescription": 10,
    "headings": 100,
    "images": 59,
    "links": 100,
    "openGraph": 100,
    "technical": 84,
    "schema": 0,
    "content": 100
  }
}
Enter fullscreen mode Exit fullscreen mode

Even dev.to gets a D! The API tells you exactly what to fix.

All Endpoints

Endpoint Description
GET /api/v1/analyze?url=<url> Quick GET-based analysis
POST /api/v1/analyze Full analysis with JSON body
POST /api/v1/compare Compare SEO of two URLs side-by-side

Compare Two Sites

curl -s -X POST https://api.lazy-mac.com/seo/api/v1/compare \
  -H "Content-Type: application/json" \
  -d '{"url1": "https://yoursite.com", "url2": "https://competitor.com"}' | jq
Enter fullscreen mode Exit fullscreen mode

Use as an MCP Server

Add to your Claude config and ask: "Analyze the SEO of my landing page at example.com"

{
  "mcpServers": {
    "seo": {
      "url": "https://api.lazy-mac.com/seo/mcp"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Python CI Integration

import requests

result = requests.post(
    "https://api.lazy-mac.com/seo/api/v1/analyze",
    json={"url": "https://yoursite.com"}
).json()

if result["overallScore"] < 70:
    print(f"SEO score {result['overallScore']} — needs work!")
    for k, v in result["scores"].items():
        if v < 50:
            print(f"  Fix: {k} (score: {v})")
Enter fullscreen mode Exit fullscreen mode

Pricing

Tier Requests/mo Price
Free 100 $0
Pro 10,000 $9/mo
Business Unlimited $49/mo

Get Pro Access on Gumroad →


Browse all 22 APIs at api.lazy-mac.com →

More from the lazymac API Toolkit:

Top comments (0)