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

miyo-satori

v0.2.0

Published

MCP gateway server for context management and downstream tool routing

Readme

miyo-satori

miyo-satori is an MCP gateway server that routes tool calls to downstream MCP servers while capturing session context. It sits between Claude Code and your MCP servers, recording activity into a local SQLite database and providing tools for context retrieval, tool discovery, and schema inspection.

Quick start

No install needed — add the entry below to your MCP config and npx will fetch and run satori on demand.

MCP config

Add the following to your Claude Code settings (.claude/settings.json or ~/.claude/settings.json):

{
  "mcpServers": {
    "satori": {
      "command": "npx",
      "args": ["-y", "miyo-satori"]
    }
  }
}

The first launch downloads and caches the package; subsequent launches start instantly.

Local development

If you are working on satori itself, clone the repo and point the MCP config at the built file:

git clone https://github.com/MMoMM-org/miyo-satori.git
cd miyo-satori
npm install && npm run build
{
  "mcpServers": {
    "satori": {
      "command": "node",
      "args": ["/absolute/path/to/miyo-satori/dist/src/index.js"]
    }
  }
}

Configuration: satori.toml

Satori merges configuration from three levels (global → project → repo). Create a satori.toml at the repo root (or ~/.satori/config.toml for global defaults). See satori.toml.example for all available fields with comments.

Tools

| Tool | Description | |------|-------------| | satori_context | Retrieve the current session snapshot — active files, task state, decisions, and recent MCP tool calls | | satori_manage | Start, stop, or inspect downstream server status; register servers at runtime | | satori_find | Search the tool catalog across all registered servers by keyword | | satori_schema | Get the full input schema for a specific tool on a specific server | | satori_exec | Route a tool call to a downstream server; starts the server if not running | | satori_kb | Knowledge base search (index/search/fetch_and_index) |

Note: bash is a built-in code execution tool (not listed as a separate MCP tool — use directly as satori_exec("bash", ...))

Documentation

Hooks setup

Satori ships Claude Code hooks that capture file activity, git operations, and other session events. The miyo-satori install-hooks subcommand registers them in your Claude Code settings.json for you.

For stable hook paths across satori updates, install satori globally so the install path does not move:

npm install -g miyo-satori
miyo-satori install-hooks

This registers hook entries in <cwd>/.claude/settings.json if it exists, otherwise ~/.claude/settings.json. Override the destination with --settings <path> or the SATORI_HOOKS_SETTINGS environment variable. Re-run the same command after npm install -g miyo-satori@latest to refresh the paths if the global location ever moves.

npx -y miyo-satori install-hooks also works but writes paths into the npx cache directory, which gets invalidated on version bumps. You'll see a warning when the install detects this.

Usage example

satori_find("read file")
  → returns: filesystem:read_file

satori_schema("filesystem", "read_file")
  → returns input schema with required "path" parameter

satori_exec("filesystem", "read_file", { "path": "/path/to/file" })
  → routes call to the filesystem server, captures output to context DB

Releasing a new version

Releases are automated via GitHub Actions. Pushing a v* tag triggers a workflow that runs typecheck, tests, build, and npm publish with provenance.

git checkout main && git pull
npm version patch        # or: minor / major
git push --follow-tags

That is the whole release flow. The workflow at .github/workflows/release.yml enforces that the tag matches package.json so the two cannot drift.

For pre-release tags (e.g. v0.2.0-beta.0) the workflow still publishes; consumers opt in via npx -y miyo-satori@beta.