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

@q-ching/mcp

v0.1.0

Published

An MCP server that lets any AI assistant consult the q-ching I-Ching oracle as a tool.

Readme

@q-ching/mcp

An MCP server that exposes the q-ching I-Ching oracle as a tool, so any MCP client — Claude Desktop, Claude Code, or another agent — can cast a reading and be guided by it.

It runs the dependency-free @q-ching/core engine directly. Because it's a Node process with no browser CORS in the way, it reaches the live quantum sources the same way the terminal app does.

The tool

cast_reading — cast an I-Ching reading.

| Input | Type | Notes | |---|---|---| | question | string? | The querent's question, recorded for context. | | method | "coin" | "yarrow"? | coin (default) or the traditional yarrow (changing lines rarer). | | seed | string? | Reproduce a prior reading exactly from its hex seed. | | quantum | boolean? | Fold in live quantum entropy (default true). | | contextHash | string? | The agent's "gesture" — a hash/digest of its current conversation context, folded into the entropy pool as the caller's own contribution. Hashed with every other source, so its form is free. Ignored when seed is set. |

Returns the primary hexagram (Judgment, Image, gloss), the changing lines and their texts, the hexagram it transforms into, and the reproducible seed.

Run it

Install from npm:

npm install -g @q-ching/mcp
q-ching-mcp               # starts the server on stdio

Or run from a clone of the repo:

npm install
npm run build:core        # the server imports @q-ching/core from its dist/
npm run mcp               # starts the server on stdio

Use it from Claude Desktop / Claude Code

With the package installed (or via npx), point your MCP client at it. For Claude Desktop, add to claude_desktop_config.json:

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

For Claude Code: claude mcp add q-ching -- npx -y @q-ching/mcp.

Running from a clone instead? Build once (npm run build:core && npm run build:mcp) and point the client at node /absolute/path/to/q-ching/apps/mcp/dist/index.js.

Then ask the assistant to consult the oracle — it will call cast_reading and let the hexagram shape its answer.