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

@ekaone/mcp-tools

v0.0.5

Published

MCP server exposing @ekaone utility tools for AI-assisted data masking

Readme

@ekaone/mcp-tools

Under Active Development

MCP (Model Context Protocol) server exposing @ekaone utility tools for AI-assisted data masking via stdio transport.

npm version License: MIT TypeScript

Tools

| Tool | Package | Description | |---|---|---| | mask_card | @ekaone/mask-card | Masks credit/debit card numbers (PCI DSS compliant) | | mask_email | @ekaone/mask-email | Masks email addresses for privacy protection |

Usage

1. With MCP Clients (Windsurf, Cursor, VS Code, Claude Desktop)

Add this configuration to your MCP client:

{
  "mcpServers": {
    "masker": {
      "command": "npx",
      "args": [
        "@ekaone/mcp-tools@latest"
      ]
    }
  }
}

2. With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "masker": {
      "command": "npx",
      "args": [
        "@ekaone/mcp-tools@latest"
      ]
    }
  }
}

Then just talk to Claude naturally:

"Hide all card numbers in this table"
"Mask the email [email protected]"
"Show only last 4 digits of this card: 4532-1234-5678-9012"

3. Available Commands

Once connected, you can use these commands:

  • Mask email addresses: "Can you mask this email: [email protected]?"
  • Mask card numbers: "Please mask this credit card: 4532-1234-5678-9012"
  • Custom masking: "Mask this card showing only first 4 digits: 4532-1234-5678-9012"

Tool Reference

mask_card

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | value | string | ✅ | — | Card number to mask | | maskChar | string | ❌ | * | Masking character | | unmaskedStart | number | ❌ | 0 | Digits visible at start | | unmaskedEnd | number | ❌ | 4 | Digits visible at end |

Examples:

Input : "4532-1234-5678-9012"
Output: "************9012"

Input : "4532-1234-5678-9012", unmaskedStart: 4
Output: "4532********9012"

Input : "4532-1234-5678-9012", maskChar: "•"
Output: "••••••••••••9012"

mask_email

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | email | string | ✅ | — | Email address to mask | | maskChar | string | ❌ | * | Masking character | | visibleChars | number | ❌ | 2 | Characters visible at start | | maskDomain | boolean | ❌ | false | Also mask the domain |

Examples:

Input : "[email protected]"
Output: "jo******@example.com"

Input : "[email protected]", visibleChars: 4
Output: "john**@example.com"

Input : "[email protected]", maskDomain: true
Output: "jo******@e******.com"

Local Development

# Install dependencies
pnpm install

# Development with hot reload
pnpm dev

# Run tests
pnpm test

# Build for production
pnpm build

# Test the built package locally
pnpm start

Testing Locally

Test the MCP server locally:

# Build first
pnpm build

# Test stdio communication
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js

Publishing

# Build and test before publishing
pnpm run prepublishOnly

# Publish to NPM
pnpm publish

Branch Structure

This repository has two main branches:

  • stdio (current branch) - For stdio MCP client usage (this README)
  • HTTP/SSE - For HTTP/SSE endpoint deployment

License

MIT © Eka Prasetia

Links


⭐ If this library helps you, please consider giving it a star on GitHub!