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

@drin00/mcp

v0.1.0

Published

Model Context Protocol server for the Drin transactional email API — let any AI agent send & receive email, manage domains/inboxes/contacts, and read metrics with one API key.

Readme

@drin00/mcp

A Model Context Protocol server for the Drin transactional email API. Give any MCP-capable agent — Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Devin, your own — the ability to send and receive email and manage domains, inboxes, contacts, suppressions, templates, webhooks, API keys and integrations, and read delivery metrics — full parity with the Drin dashboard, authenticated with a single Drin API key.

Zero third-party dependencies. Runs on Node 20+. Free on every Drin plan.

Install

No install needed — point your MCP client at it with npx:

{
  "mcpServers": {
    "drin": {
      "command": "npx",
      "args": ["-y", "@drin00/mcp"],
      "env": { "DRIN_API_KEY": "drin_your_key" }
    }
  }
}

Create an API key in the dashboard under Settings → API Keys. If the key is account-wide (not scoped to one product), also set DRIN_SENDER to a product externalId.

Claude Desktop

Add the block above to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude.

Claude Code

claude mcp add drin -e DRIN_API_KEY=drin_your_key -- npx -y @drin00/mcp

Cursor / Windsurf / VS Code

Add the same mcpServers block to the editor's MCP config (~/.cursor/mcp.json, Windsurf settings, or .vscode/mcp.json).

Configuration

| Env var | Required | Default | Purpose | | --- | --- | --- | --- | | DRIN_API_KEY | yes | — | Bearer token (Settings → API Keys) | | DRIN_BASE_URL | no | https://api.drin.run | Override for self-hosted/preview | | DRIN_SENDER | no | — | Default product externalId (account-wide keys) |

Flags --api-key, --base-url, --sender override the env vars.

Tools

54 tools spanning the whole Drin API — everything the dashboard does, an agent can do.

| Group | Tools | | --- | --- | | Sending | send_email, send_batch, reply_email | | Reading | list_emails, get_email, get_email_body, list_email_attachments | | Domains | list_domains, get_domain, add_domain, verify_domain, delete_domain, get_domain_receiving, set_domain_receiving | | Inboxes | list_inboxes, create_inbox, get_inbox, delete_inbox | | Threads | list_threads, get_thread | | Inbound | simulate_inbound | | Contacts | list_contacts, create_contact, get_contact, update_contact, unsubscribe_contact, resubscribe_contact, delete_contact | | Suppressions | list_suppressions, add_suppression, remove_suppression | | Templates | list_templates, get_template, create_template, update_template, delete_template, render_template, preview_template, list_template_gallery | | Webhooks | list_webhooks, get_webhook, create_webhook, update_webhook, delete_webhook | | API keys | list_api_keys, create_api_key, revoke_api_key | | Metrics | get_metrics | | Account | list_account_messages (tenant-wide feed across all products) | | Integrations | list_integrations, get_integration, install_integration, update_integration, uninstall_integration |

Addresses accept "Name <email>" or a bare "email"; recipient fields accept a string or an array of strings. Show-once secrets (new API keys, webhook signing secrets) are returned only on the create call — persist them immediately.

Programmatic use

import { createDrinMcpServer } from "@drin00/mcp";

const server = createDrinMcpServer({
  apiKey: process.env.DRIN_API_KEY!,
  sender: "acme", // optional, for account-wide keys
});
await server.serve(); // wires stdin/stdout

Security

The server speaks only to the Drin API over HTTPS using your Bearer key — there is no separate auth surface. Everything the key is allowed to do, the agent can do; scope the key to one product and the minimum it needs. Keys are shown once on creation; store them in your MCP client's env, never in source.

Develop

npm run typecheck   # tsc on src + tests
npm run build       # emit dist/
npm test            # node:test unit suite

MIT licensed.