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

@domphy/mcp

v0.19.3

Published

Domphy MCP server - exposes patches, packages, rules, and the doctor to MCP-capable AI agents

Downloads

455

Readme

@domphy/mcp

domphy.com · Docs · npm

A Model Context Protocol server that gives MCP-capable AI agents (Cursor, VS Code, and any MCP-compatible client) first-class access to Domphy — so they can look up the real API and validate their own output instead of guessing.

Tools

| Tool | Does | | --- | --- | | domphy_list_patches | every @domphy/ui patch with host tag + signature | | domphy_get_patch | one patch's full contract (host tag, signature, props, example, doc, source) | | domphy_list_packages | all @domphy/* packages with versions + descriptions | | domphy_rules | the Domphy code-generation rules (llms.txt) to follow | | domphy_tones | the valid tone names + theme color names for themeColor()/dataTone | | domphy_diagnose | run @domphy/doctor on a JSON element tree and return issues to fix | | domphy_validate | run the doctor's aggregate validate() — returns { ok, issues, summary } with severity counts | | domphy_fix | apply the doctor's lossless autofix — returns { tree, applied, report } (only provably-safe fixes applied) | | domphy_list_app_blocks | list the current app's OWN reusable Domphy blocks from its app-manifest.json | | domphy_get_app_block | get one app block's full source + signature + jsdoc, by name |

Patch/package/rules/tones data is fetched live from domphy.com (always current with the latest release); domphy_diagnose/domphy_validate/domphy_fix run locally, and the app-block tools read the local app-manifest.json.

Use

Cursor

Add to .cursor/mcp.json:

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

Once connected, the agent can call domphy_get_patch/domphy_rules before writing code and domphy_diagnose after — the self-correction loop that lets it write correct Domphy despite thin training data.

Set DOMPHY_ORIGIN to point at a different docs origin (e.g. a preview deploy).