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

ic-mcp

v0.13.5

Published

Model Context Protocol server for Internet Computer development with natural language tools and TOON encoding

Downloads

76

Readme

IC-MCP

MCP server for Internet Computer development with module discovery, validation, deployment, refactoring, and test generation.

Features: 47 mo:core modules • 35 ICP examples • Real compiler validation • Upgrade safety checks • Test generation • 90-98% token reduction


Install

Claude Code

claude mcp add --scope user --transport stdio ic-mcp -- npx -y ic-mcp

Codex

codex mcp add ic-mcp -- npx -y ic-mcp

Cursor

{
  "mcpServers": {
    "ic-mcp": {
      "command": "npx",
      "args": ["-y", "ic-mcp"]
    }
  }
}

Usage

Find modules

"What modules handle token balances?"
"Show me HashMap examples"

Searches 47 mo:core modules + comprehensive internetcomputer.org documentation.

Find ICP examples

"Show me Bitcoin integration examples"
"Get source for the Bitcoin wallet example"

35 curated examples with source file URLs. Motoko and Rust versions across AI, DeFi, Chain Fusion, NFT, Games.

Generate tests

"Generate tests for this Counter module"

Creates mo:test structure, extracts function signatures, minimal/standard/comprehensive coverage.

Validate code

"Validate this Motoko code"

Uses moc compiler, not pattern matching. Immediate feedback instead of deploy-wait-error cycle.

Check upgrade safety

"Is this refactor upgrade-safe?"
"Add upgrade hooks to this canister"

Analyzes Candid interface changes, prevents state loss from incompatible upgrades.

Deploy and test

"Deploy to local dfx"
"Test the transfer method with 1000 tokens to principal xyz..."

Handles dfx commands, Candid encoding, identity management.


Technical

| Tool | Purpose | |------|---------| | icp/query | Module search, docs, 35 ICP examples (47 mo:core + internetcomputer.org) | | icp/action | Validate, deploy, test, refactor, generate tests | | icp/execute | Sandbox for processing data, persistent workspaces (90-98% token reduction) | | icp/help | Documentation |

Validation:

  • Motoko: moc compiler with dependency resolution
  • Candid: didc validator with subtype checking
  • Rust: ic-cdk pattern analysis

Requirements: Node.js 18+ • dfx CLI • moc compiler

Development

git clone https://github.com/swissyai/ic-mcp.git
cd ic-mcp
npm install
npm run build
npm test

Links

MIT License