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

@rb2b/rb2b-apis-mcp

v1.1.7

Published

MCP server exposing RB2B API tools for identity resolution and enrichment

Readme

@rb2b/rb2b-apis-mcp

MCP (Model Context Protocol) server that exposes RB2B API's identity resolution and enrichment API as tools for Claude and other MCP-compatible AI assistants.

Resolve IP addresses to companies, look up LinkedIn profiles from emails, find contact information from LinkedIn slugs, and more — all without leaving your AI assistant.


Requirements

  • An MCP-compatible AI clientClaude Desktop or Claude Code must be installed before setting up this server
  • Node.js 18+
  • An RB2B APIs account and API key. Don't have an account? Get your first 100 credits for just $9.

Quick Start

1. Install Claude Desktop or Claude Code

This server requires an MCP-compatible client. Install one first:

2. Run the setup wizard

npx -y @rb2b/rb2b-apis-mcp init

This will:

  • Prompt for your RB2B API key and validate it
  • Store it securely in ~/.rb2b/config.json (permissions: 600)
  • Automatically register the server with Claude Code and Claude Desktop if detected

That's it. No manual config editing needed in most cases.

Manual registration (if needed)

If auto-registration didn't run or you're using a different MCP client:

Claude Code:

claude mcp add rb2b -- npx -y @rb2b/rb2b-apis-mcp

Claude Desktop — edit your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "rb2b": {
      "command": "npx",
      "args": ["-y", "@rb2b/rb2b-apis-mcp"]
    }
  }
}

Restart Claude Desktop after saving.


Tools

Each API call deducts credits from your account balance. Free tools never consume credits. The server checks your balance before every paid call and will refuse the request if you have insufficient credits.

Credit warnings are automatically appended to responses when your balance falls to 500, 200, 100, 50, or 10 credits. Severity levels: [NOTICE] (500–51), [WARNING] (50–11), [CRITICAL] (10 and below).

Rate limit: 50 requests/second per endpoint. The server surfaces a clear error if this is exceeded.

Account

| Tool | Inputs | Cost | Description | |------|--------|------|-------------| | help | — | free | List all available tools with descriptions and costs | | check_credits | — | free | Check remaining API credits for the account | | set_api_key | api_key | free | Update the stored API key (validates before saving) |

IP Address Lookup

| Tool | Inputs | Cost | Description | |------|--------|------|-------------| | ip_to_company | ip_address | 1 credit | Identify the company associated with an IP address | | ip_to_hem | ip_address | 1 credit | Get hashed emails (MD5 + SHA256) linked to an IP address | | ip_to_maid | ip_address | 1 credit | Get Mobile Advertising IDs (MAIDs) linked to an IP address |

Email → Identity

| Tool | Inputs | Cost | Description | |------|--------|------|-------------| | email_to_linkedin_slug | email | 1 credit | Get the LinkedIn slug for a plain-text email | | email_to_best_linkedin | email | 1 credit | Get the highest-confidence LinkedIn profile URL for an email | | email_to_business_profile | email | 2 credits | Get business/employer profile (title, company, industry) for an email | | email_to_maid | email | 1 credit | Get Mobile Advertising IDs linked to an email |

Hashed Email (HEM) → Identity

Accepts MD5 hashes of email addresses.

| Tool | Inputs | Cost | Description | |------|--------|------|-------------| | hem_to_linkedin_slug | md5 | 1 credit | Get the LinkedIn slug for a hashed email | | hem_to_best_linkedin | md5 | 1 credit | Get the highest-confidence LinkedIn profile URL for a hashed email | | hem_to_business_profile | md5 | 2 credits | Get business/employer profile for a hashed email | | hem_to_maid | md5 | 1 credit | Get Mobile Advertising IDs linked to a hashed email |

LinkedIn → Identity

Accepts LinkedIn vanity URL slugs (e.g. john-doe-123 from linkedin.com/in/john-doe-123).

| Tool | Inputs | Cost | Description | |------|--------|------|-------------| | linkedin_to_hashed_emails | linkedin_slug | 1 credit | Get all hashed emails (personal + business, MD5 + SHA256) for a profile | | linkedin_to_best_personal_email | linkedin_slug | 1 credit | Get the highest-confidence personal email for a profile | | linkedin_to_personal_email | linkedin_slug | 1 credit | Get all personal email candidates for a profile | | linkedin_to_mobile_phone | linkedin_slug | 3 credits | Get the mobile phone number for a profile | | linkedin_to_business_profile | linkedin_slug | 4 credits | Get business/employer profile (title, company, industry) for a profile |


Configuration

The API key is stored at ~/.rb2b/config.json with permissions 600 (owner read/write only):

{
  "apiKey": "your-api-key-here"
}

To update your API key, use any of these methods:

  • From Claude: ask Claude to use the set_api_key tool — it validates the key before saving and takes effect immediately, no restart needed
  • From the terminal: run npx -y @rb2b/rb2b-apis-mcp init — detects an existing key and prompts for a replacement

Example Usage

Once the server is running, you can ask Claude things like:

  • "Who is visiting my site from IP 203.0.113.42?"
  • "Find the LinkedIn profile for [email protected]"
  • "What company does robbclarke work at?"
  • "Get the personal email for LinkedIn profile john-doe-123"
  • "Check my RB2B credit balance"

Claude will automatically select and call the appropriate tool.


License

MIT