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

@aipp/ghost-api-mcp

v1.0.0

Published

Model Context Protocol (MCP) server for Ghost-API: Stealth Cloudflare bypass & structured JSON extraction

Readme

👻 Ghost-API MCP Server (@aipp/ghost-api-mcp)

Official Model Context Protocol (MCP) server for Ghost-API.
Empowers Claude Desktop, Cursor, Codex, and autonomous AI agents to extract public web pages as reader Markdown or validated JSON.


⚡ The AI Agent Promise

  • Direct extraction: Browser rendering is currently disabled while outbound network safeguards are being validated. Requests that require a browser may fail.
  • Zero Subscriptions: Flat $0.02 per successful extraction.
  • Free Cache Hits: Identical URLs within TTL cost $0.00.
  • 100% Refund on Failures: Failed or timed-out extractions cost $0.00.
  • Transparent Unit Economics: Every response includes cost_usd, remaining_balance_usd, engine_used, and response_time_ms so AI agents can manage their own budget.

🚀 Quickstart & Configuration

1. Claude Desktop (claude_desktop_config.json)

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "ghost-api": {
      "command": "npx",
      "args": ["-y", "@aipp/ghost-api-mcp"],
      "env": {
        "GHOST_API_KEY": "gk_live_your_api_key_here"
      }
    }
  }
}

2. Cursor IDE (.cursor/mcp.json)

{
  "mcpServers": {
    "ghost-api": {
      "command": "npx",
      "args": ["-y", "@aipp/ghost-api-mcp"],
      "env": {
        "GHOST_API_KEY": "gk_live_your_api_key_here"
      }
    }
  }
}

🛠️ Available MCP Tools

| Tool | Purpose | Primary Inputs | |---|---|---| | ghost_extract_json | Extract structured schema data using Gemini AI | url, schema, prompt | | ghost_markdown | Clean reader-mode Markdown for LLM analysis / RAG | url, render_js (optional) | | ghost_html | HTML from the direct extraction path | url, render_js (optional) | | ghost_extract | Universal extractor with full parameter options | url, extraction_mode, schema | | ghost_balance | Real-time USD balance & spent tracker | none | | ghost_status | Server operational health & ping latency | none |


📊 Example Tool Response (With Budget Telemetry)

{
  "data": {
    "product_name": "Ultra Running Shoes",
    "price_usd": 129.99,
    "in_stock": true
  },
  "meta": {
    "cost_usd": 0.02,
    "remaining_balance_usd": 4.98,
    "engine_used": "direct",
    "cache_hit": false,
    "response_time_ms": 1120,
    "model_used": "google/gemini-2.5-flash"
  }
}

Get your API key at https://ghost.aipp.dev. New keys begin with a zero balance; check the dashboard for funding options.