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

anymize-mcp

v1.0.10

Published

Model Context Protocol (MCP) server for text and document anonymization using the Anymize API. Supports text anonymization with reversible placeholders and OCR-based document processing for secure data handling.

Readme

anymize MCP Server

A Model Context Protocol (MCP) server for text and document anonymization using the anymize API.

Setup Options

Option 1: Local Server (File Processing + Text)

For applications that support direct MCP server configuration, add to your MCP client configuration:

Step 1: Install Globally

First, install the anymize-mcp package globally:

npm install -g anymize-mcp

Step 2: Find Required Paths

Find Node Executable Path

PowerShell:

where.exe node

Example output: C:\Users\username\AppData\Roaming\nvm\v22.11.0\node.exe

macOS/Linux:

which node

Example output: /Users/username/.nvm/versions/node/v22.11.0/bin/node

Find Anymize MCP Installation Path

npm root -g

PowerShell example output: C:\Users\username\AppData\Roaming\nvm\v22.11.0\node_modules macOS/Linux example output: /Users/username/.nvm/versions/node/v22.11.0/lib/node_modules

The anymize-mcp server script will be at: [npm root -g]/anymize-mcp/build/index.js

Quick Path Check

PowerShell:

Test-Path "$(npm root -g)\anymize-mcp\build\index.js"

macOS/Linux:

ls "$(npm root -g)/anymize-mcp/build/index.js"

Step 3: MCP Configuration

Single Directory

Windows example:

{
  "mcpServers": {
    "anymize": {
      "command": "C:\\Users\\username\\AppData\\Roaming\\nvm\\v22.11.0\\node.exe",
      "args": [
        "C:\\Users\\username\\AppData\\Roaming\\nvm\\v22.11.0\\node_modules\\anymize-mcp\\build\\index.js",
        "C:\\path\\to\\your\\documents"
      ],
      "env": {
        "ANYMIZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

macOS/Linux example:

{
  "mcpServers": {
    "anymize": {
      "command": "/Users/username/.nvm/versions/node/v22.11.0/bin/node",
      "args": [
        "/Users/username/.nvm/versions/node/v22.11.0/lib/node_modules/anymize-mcp/build/index.js",
        "/path/to/your/documents"
      ],
      "env": {
        "ANYMIZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Multiple Directories

Windows example:

{
  "mcpServers": {
    "anymize": {
      "command": "C:\\Users\\username\\AppData\\Roaming\\nvm\\v22.11.0\\node.exe",
      "args": [
        "C:\\Users\\username\\AppData\\Roaming\\nvm\\v22.11.0\\node_modules\\anymize-mcp\\build\\index.js",
        "C:\\path\\to\\documents",
        "C:\\path\\to\\downloads"
      ],
      "env": {
        "ANYMIZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

macOS/Linux example:

{
  "mcpServers": {
    "anymize": {
      "command": "/Users/username/.nvm/versions/node/v22.11.0/bin/node",
      "args": [
        "/Users/username/.nvm/versions/node/v22.11.0/lib/node_modules/anymize-mcp/build/index.js",
        "/path/to/documents",
        "/path/to/downloads"
      ],
      "env": {
        "ANYMIZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Step 4: Generate Your Configuration

PowerShell

Write-Host "Node path: $(where.exe node)"
Write-Host "Anymize MCP path: $(npm root -g)\anymize-mcp\build\index.js"

macOS/Linux

echo "Node path: $(which node)"
echo "Anymize MCP path: $(npm root -g)/anymize-mcp/build/index.js"

Then copy the paths into your MCP client configuration, replacing the document directory paths with your actual directories.

Option 2: n8n MCP Client Tool

Use n8n's built-in MCP Client Tool node for seamless integration:

  1. Add the MCP Client Tool node to your workflow
  2. Configure the node settings:
    • Endpoint URL: https://mcp.anymize.ai/mcp
    • Server Transport: HTTP Streamable
    • Authentication: Header Auth
  3. Create Header Auth credentials:
    • Name: x-anymize-api-key
    • Value: your-api-key-here

Get API Key

Sign up at Anymize.ai to get your API key.

Usage Examples

Anonymize Text

Prompt:

Anonymize this text: "My name is John Smith, email [email protected], and I work at ABC Corp located at 123 Main Street."

Result:

My name is [[Name-abc123]], email [[Email-def456]], and I work at [[Organization-ghi789]] located at [[Address-jkl012]].

Restore Original Text

Prompt:

Restore this anonymized text: "Contact [[Name-abc123]] at [[Email-def456]] for more information."

Result:

Contact John Smith at [email protected] for more information.

Process Documents (Local Server Only)

Prompt:

Please anonymize the contract document at /path/to/documents/contract.pdf

Result:

[Extracts text from PDF and returns anonymized version]

EMPLOYMENT AGREEMENT

This agreement is between [[Organization-abc123]] and [[Name-def456]].
Employee address: [[Address-ghi789]]
Phone: [[Phone-jkl012]]
...

Multi-language Support

Prompt:

Anonymize this German text: "Mein Name ist Hans Müller und ich wohne in Berlin."

Result:

Mein Name ist [[Name-abc123]] und ich wohne in [[Location-def456]].

Supported File Types

  • Images: PNG, JPG, JPEG, GIF, BMP, TIFF
  • Documents: PDF, DOCX, TXT

Available Tools

Local Server

  • anonymize_text - Anonymize personal information in text
  • deanonymize_text - Restore original text from anonymized version
  • file_anonymization - Process files through OCR and anonymize content

n8n Integration

  • anonymize_text - Anonymize personal information in text
  • deanonymize_text - Restore original text from anonymized version