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

@cognilead/mcp-server

v0.2.0

Published

Model Context Protocol server for CogniLead — tools (draft_pitch, score_signal, check_deliverability, ingest_lead, run_campaign, suppress, generate_seo_content), Resources (sends, suppressions, warmed-pool, docs), and Prompts (cold-outbound-sequence, deli

Readme

@cognilead/mcp-server

Model Context Protocol server for CogniLead — the managed cold-email deliverability engine for EU/technical B2B (plus AI content scaffolding). Exposes five tools to Cursor, Claude Desktop, Windsurf, and any MCP-capable client so you can draft outbound copy and run campaigns without leaving your IDE. All generation runs on phi-cloud as the LLM provider.

Two tools are free (no API key, daily-capped). Three are gated behind a CogniLead API key — when the key is absent, the tool returns an inline signup URL so you can fix it in seconds.

Install

npm install -g @cognilead/mcp-server
# or run on demand without installing
npx -y @cognilead/mcp-server

The binary is cognilead-mcp and speaks the MCP stdio transport.

Configure your IDE

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json per-project):

{
  "mcpServers": {
    "cognilead": {
      "command": "npx",
      "args": ["-y", "@cognilead/mcp-server"],
      "env": {
        "COGNILEAD_API_KEY": "pk_live_..."
      }
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "cognilead": {
      "command": "npx",
      "args": ["-y", "@cognilead/mcp-server"],
      "env": {
        "COGNILEAD_API_KEY": "pk_live_..."
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "cognilead": {
      "command": "npx",
      "args": ["-y", "@cognilead/mcp-server"],
      "env": {
        "COGNILEAD_API_KEY": "pk_live_..."
      }
    }
  }
}

Omit COGNILEAD_API_KEY to run in free-tier mode (only draft_pitch and score_signal are callable; the three gated tools return a 401 with an inline upgrade URL).

Tools

| Tool | Tier | Daily cap | What it does | |---|---|---|---| | cognilead.draft_pitch | free | 20/day | Draft a short, personalised outbound pitch from the insight/context you feed it (the product, topic, and target account). | | cognilead.score_signal | free | 50/day | Score a supplied insight/context for fit against a target product (0-100, deterministic). | | cognilead.ingest_lead | gated | — | Register a (customer-supplied) lead in the outbound pipeline. | | cognilead.run_campaign | gated | — | Kick off an email campaign by id, optionally restricted to a set of leads. | | cognilead.suppress | gated | — | Add an email or domain to the suppression list (honours one-click RFC 8058 unsubscribe). |

Note: MarketPrior-fed targeting tools are roadmap, not live. Today you supply leads/context yourself; CogniLead runs the deliverability.

Free-tier quotas reset at UTC midnight and persist between IDE restarts in ~/.cognilead/quota.json.

Environment

| Var | Default | Purpose | |---|---|---| | COGNILEAD_API_KEY | unset | Bearer token for gated tools | | COGNILEAD_API_URL | https://api.cognilead.ai | Override for self-hosted | | COGNILEAD_SIGNUP_URL | https://cognilead.ai/signup?via=mcp | Upgrade-hint URL | | COGNILEAD_QUOTA_DIR | ~/.cognilead | Free-tier quota state directory | | COGNILEAD_MCP_HTTP_PORT | 8787 | Only used by the hosted-MCP HTTP variant |

Get a key

Sign up — the free tier ships with 100 outbound sends per month plus capped AI content scaffolding. Paid plans add warmed sender pools, the reputation circuit-breaker, and reply/bounce handling. (MarketPrior-fed targeting is roadmap, not yet available.)

Local development

cd packages/mcp-server
npm install
npm run dev       # tsx src/index.ts (stdio)
npm run build     # tsc → dist/
npm run start     # node dist/index.js
npm run start:http  # node dist/http.js — hosted-MCP HTTP variant

To test the binary doesn't crash on startup:

node packages/mcp-server/dist/index.js < /dev/null

It should exit cleanly when stdin closes.

License

MIT