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

@perkoon/mcp

v0.1.3

Published

MCP server for P2P file transfer — adds send_file, receive_file, check_session as native tools for Claude, Cursor, VS Code, and any MCP-compatible agent.

Readme

@perkoon/mcp

MCP server for Perkoon — P2P file transfer for AI agents. Adds send_file, receive_file, and check_session as native tools.

Files transfer directly between machines via WebRTC. Nothing touches Perkoon's servers. Free, unlimited size.

Quick Setup

Add one config block and restart. Your agent gets three new tools.

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "perkoon": {
      "command": "npx",
      "args": ["-y", "@perkoon/mcp"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "perkoon": {
      "command": "npx",
      "args": ["-y", "@perkoon/mcp"]
    }
  }
}

Cursor

Settings → MCP → Add Server → Command: npx -y @perkoon/mcp

VS Code (Copilot)

Settings → MCP → Add Server → Command: npx -y @perkoon/mcp

Windsurf

Settings → MCP → Add Server → Command: npx -y @perkoon/mcp

Tools

send_file

Send a file via P2P. Creates a session, waits for a receiver, transfers directly.

Agent: "Send the report to my colleague"
→ send_file({ file_path: "./quarterly-report.pdf" })
← Session code: K7MX4QPR9W2N
  Share URL: https://perkoon.com/K7MX4QPR9W2N
  Transfer complete! 4.2 MB in 1.3s (3.2 MB/s)

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | file_path | string | yes | Path to the file to send | | password | string | no | Password-protect the transfer | | timeout | number | no | Seconds to wait for receiver (default: 300, max: 3600) |

receive_file

Receive files from a P2P session.

Agent: "Download from session K7MX4QPR9W2N"
→ receive_file({ session_code: "K7MX4QPR9W2N" })
← Saved to: ./received/quarterly-report.pdf
  Transfer complete! 4.2 MB in 1.3s

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | session_code | string | yes | 12-character code from the sender | | output_dir | string | no | Where to save files (default: ./received) | | password | string | no | Password if session is protected |

check_session

Check if a session is active, expired, or not found.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | session_code | string | yes | 12-character code to check |

How it works

The MCP server spawns the perkoon CLI with --json mode and parses JSONL events. No native dependencies are bundled — node-datachannel is only installed when the CLI runs. Installs in ~2 seconds.

Security

  • Files paths are validated — system paths (/etc/, /proc/) and sensitive directories (.ssh/, .gnupg/) are blocked
  • Symlinks are resolved before validation
  • Max 5 concurrent transfers
  • Passwords and timeouts are length/range-capped

Learn more