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

@magnetlab/mcp

v2.0.0

Published

MCP server for MagnetLab - control your lead magnets, funnels, content pipeline, and analytics from Claude Code

Readme

@magnetlab/mcp

MCP server for MagnetLab -- control your lead magnets, funnels, content pipeline, and analytics from Claude Code or Claude Desktop.

Quick Setup

Claude Code

claude mcp add magnetlab -e MAGNETLAB_API_KEY=ml_live_your_key_here -- npx -y --package @magnetlab/mcp magnetlab-mcp serve

Then restart Claude Code.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "magnetlab": {
      "command": "npx",
      "args": ["-y", "--package", "@magnetlab/mcp", "magnetlab-mcp", "serve"],
      "env": {
        "MAGNETLAB_API_KEY": "ml_live_your_key_here"
      }
    }
  }
}

Getting Your API Key

  1. Log in to MagnetLab
  2. Go to Settings > API Keys
  3. Click Create API Key
  4. Copy the key (starts with ml_live_)

Available Tools

| Category | Tools | What You Can Do | |----------|------:|-----------------| | Lead Magnets | 7 | List, create, delete, get stats, analyze competitors and transcripts | | Ideation | 6 | Generate lead magnet ideas, extract and generate content, write LinkedIn posts, polish | | Funnels | 9 | Create opt-in pages, customize copy/theme, publish/unpublish, AI-generate funnel content | | Leads | 2 | List captured leads with filters, export as CSV | | Analytics | 1 | Get per-funnel stats (views, leads, conversion rates) | | Brand Kit | 3 | Get/update business context, extract context from raw text | | Email Sequences | 4 | Generate AI welcome sequences, edit emails, activate drip campaigns | | Content Pipeline | 34 | Transcripts, AI Brain knowledge base, content ideas, pipeline posts, autopilot, writing styles, templates, content planner, business context | | Swipe File | 3 | Browse community posts and lead magnets, submit your own | | Libraries | 7 | Create content libraries, manage items, gate behind funnels | | Qualification Forms | 5 | Create forms with scoring questions, attach to funnels | | Total | 81 | |

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | MAGNETLAB_API_KEY | Yes | Your MagnetLab API key (starts with ml_live_) | | MAGNETLAB_BASE_URL | No | Override the API base URL (default: https://magnetlab.app) |

CLI Usage

Start the MCP server (stdio transport):

# Using environment variable
MAGNETLAB_API_KEY=ml_live_xxx npx --package @magnetlab/mcp magnetlab-mcp serve

# Using --api-key flag
npx --package @magnetlab/mcp magnetlab-mcp serve --api-key ml_live_xxx

# With custom base URL
npx --package @magnetlab/mcp magnetlab-mcp serve --base-url http://localhost:3000

Example Prompts

Once the MCP server is connected, try these in Claude:

Lead magnets:

  • "List all my lead magnets"
  • "Create a new lead magnet called 'LinkedIn Growth Playbook' with the focused-toolkit archetype"
  • "What are the stats on my best-performing lead magnet?"

Funnels:

  • "Create an opt-in page for my latest lead magnet with a dark theme"
  • "Generate funnel copy for lead magnet [id]"
  • "Publish my funnel and give me the live URL"

Content pipeline:

  • "Search my AI Brain for insights about pricing objections"
  • "Write a LinkedIn post about [topic]"
  • "Show me my content buffer and what's scheduled this week"
  • "Trigger autopilot to generate 5 new posts"

Lead management:

  • "How many leads did I capture this month?"
  • "Export all qualified leads as CSV"

Brand kit:

  • "Extract my business context from this offer document: [paste text]"
  • "Update my brand kit with these pain points: ..."

License

MIT