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

iterable-mcp

v1.0.4

Published

Unofficial community MCP server for the Iterable API — use it while Iterable works on their official one. Provides tools for email campaign analytics, subscriber lists, user data, and more.

Readme

Iterable MCP Server

Note: This is an unofficial, community-built MCP server. While Iterable has an official MCP server, our team ran into several issues with it, so we built this one tailored to our specific use cases.

A Model Context Protocol (MCP) server for the Iterable API. It lets AI assistants (Claude, Cursor, Devin, etc.) access your Iterable data — campaign analytics, subscriber lists, user profiles, templates, and more — through a standardized interface.

Quick Start

Prerequisites

Running via npx

No installation required:

ITERABLE_API_KEY=your-api-key npx iterable-mcp

Configuration with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "iterable": {
      "command": "npx",
      "args": ["-y", "iterable-mcp"],
      "env": {
        "ITERABLE_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration with Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "iterable": {
      "command": "npx",
      "args": ["-y", "iterable-mcp"],
      "env": {
        "ITERABLE_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration with VS Code (GitHub Copilot)

Add to your .vscode/mcp.json:

{
  "servers": {
    "iterable": {
      "command": "npx",
      "args": ["-y", "iterable-mcp"],
      "env": {
        "ITERABLE_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration with Devin

In Devin's MCP settings, add a new server:

  • Name: iterable
  • Command: npx -y iterable-mcp
  • Environment Variables:
    • ITERABLE_API_KEY → your API key

Environment Variables

| Variable | Required | Description | |---|---|---| | ITERABLE_API_KEY | Yes | Your Iterable server-side API key |

Available Tools

Campaigns

| Tool | Description | |---|---| | list_campaigns | List campaigns with pagination, sorting, and state filtering | | get_campaign | Get detailed metadata for a specific campaign | | get_campaign_metrics | Get performance metrics (opens, clicks, bounces, etc.) for one or more campaigns |

Subscriber Lists

| Tool | Description | |---|---| | get_lists | List all subscriber lists | | get_list_size | Get subscriber count for a specific list | | get_list_users | Get email addresses subscribed to a list |

Users

| Tool | Description | |---|---| | get_user_by_email | Look up a user profile by email address |

Data Export

| Tool | Description | |---|---| | export_data | Export user data, subscribe events, or bounce events as CSV (parsed to JSON) |

Templates

| Tool | Description | |---|---| | get_templates | List email templates with filtering by type | | get_template | Get a specific email template by ID |

Configuration

| Tool | Description | |---|---| | get_message_types | List all message types | | get_channels | List all messaging channels | | get_metadata_tables | List all metadata tables | | get_metadata_table | Get all keys in a specific metadata table |

Usage Tips

Campaign Metrics

The get_campaign_metrics tool returns rich CSV data parsed into JSON. Key metrics include:

  • Total Email Sends — emails sent
  • Unique Email Opens (filtered) — bot-filtered unique opens (best for open rate)
  • Unique Email Clicks (filtered) — bot-filtered unique clicks (best for CTR)
  • Total Unsubscribes — unsubscribe count
  • Total Emails Bounced — bounce count
  • Total Complaints — spam complaints

You can pass multiple campaign IDs in a single request to get metrics for an entire week of campaigns at once.

Rate Limits

  • The export API (export_data) has aggressive rate limiting — space requests 10-15 seconds apart.
  • Campaign metrics are less aggressive but still space requests 2-3 seconds apart when fetching in bulk.

Open Rate & CTR Formulas

  • Open Rate = Unique Email Opens (filtered) / Total Email Sends
  • Click-Through Rate = Unique Email Clicks (filtered) / Total Email Sends

Development

git clone https://github.com/jginorio/iterable-mcp.git
cd iterable-mcp
npm install
npm run build

To test locally:

ITERABLE_API_KEY=your-key node dist/index.js

License

MIT