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

@mailjet/mailjet-mcp-server

v1.1.0

Published

[![MCP](https://img.shields.io/badge/MCP-Server-blue.svg)](https://github.com/modelcontextprotocol)

Readme

Mailjet MCP Server

MCP

Overview

This project provides a Model Context Protocol (MCP) server for the Mailjet API, enabling compatible AI agents (e.g. Claude Desktop) to interact with Mailjet's contact, campaign, segmentation, statistics, workflow (and more) APIs through a standardized tool interface.

Quick Start

Execution through NPX

The project is available on NPM and can be executed through NPX.

In order to start the server locally, simply run the following command:

MAILJET_API_KEY="YOUR_api_key:YOUR_secret_key" npx mailjet-mcp-server

Most of the time, you can choose to take advantage your AI desktop app and link Mailjet MCP directly to it. In this case please add the following MCP config:

"mcpServers": {
   "mailjet": {
      "command": "npx",
      "args": [
        "-y",
        "@mailjet/mailjet-mcp-server"
      ],
      "env": {
        "MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
      }
   }
}

Manual Installation

  1. Clone the repository:

    git clone https://github.com/mailgun/mailjet-mcp-server.git
    cd mailjet-mcp-server
  2. Install dependencies and build:

    pnpm install
  3. Configure Claude Desktop:

    Create or modify the config file:

    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json

Then start the MCP server:

node src/mailjet-mcp.js

Add the following configuration:

{
    "mcpServers": {
        "mailjet": {
            "command": "node",
            "args": ["CHANGE/THIS/PATH/TO/mailjet-mcp-server/src/mailjet-mcp.js"],
            "env": {
                "MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
            }
        }
    }
}

Supported environment variables

The following environment variables are currently supported by the server:

MAILJET_API_KEY="your_api_key:your_secret_key" # REQUIRED, used for authenticating your account
MAILJET_API_REGION="eu" # OPTIONAL, used to change to the EU servers, if desired

Testing

Run the local test suite with:

NODE_ENV=test pnpm test

Sample Prompts with Claude

Find contacts information

Which of my contacts lists has the most subscribers?

Fetch and Visualize Sending Statistics

Would you be able to make a chart with email delivery statistics for the past week?

Debugging

The MCP server communicates over stdio, please refer to Debugging section of the Model Context Protocol.

Publishing

This package is published on the Mailjet NPM registry. The Mailjet team is responsible for publishing new package updates. Feel free to create an issue if you noticed any divergence between the Github version and the NPM package available.

License

This project is licensed under the Apache License 2.0. See LICENSE for details.

Contributing

We welcome contributions! Please feel free to submit a Pull Request.