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

@kinlab/kin-mcp

v0.7.21

Published

Start the MCP server for Kin, a graph-native code repository for people and AI agents, through an npm-friendly wrapper.

Readme

@kinlab/kin-mcp

Superseded by @kinlab/kin, the canonical Kin install surface. It includes the MCP server (kin mcp start) along with the full CLI. This package keeps working for existing configurations, but new setups should install @kinlab/kin.

@kinlab/kin-mcp is the npm-friendly launcher for Kin's MCP server (the installed command is still kin-mcp).

It downloads the matching Kin release archive from GitHub, verifies the published SHA-256 checksum, extracts both the kin CLI and the kin-daemon it depends on into a local cache, and runs:

kin mcp start

On first run it:

  • provisions kin-daemon next to kin and points the CLI at it with KIN_DAEMON_BIN, so the MCP path never depends on a locally-built kin, a stale daemon on PATH, or a pre-existing daemon;
  • defaults KIN_MCP_TOOL_PROFILE=agent-default, so agents see the small curated tool surface instead of the full internal one;
  • starts (or reuses) the repo daemon automatically, and only then serves tools;
  • requires an explicit kin init (no silent init) unless you opt in with KIN_MCP_AUTO_INIT=1.

If a runnable Kin cannot be provisioned (unsupported target, release download blocked), the wrapper exits with a precise guided fix instead of a stack trace.

Usage

Use it directly from an MCP client with npx:

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

To pin a version, add it to the package spec. Take the number from the published version list rather than from this page, because a version written into a README is stale by the next release and pins whoever copies it to whatever shipped when the line was typed:

{
  "mcpServers": {
    "kin": {
      "command": "npx",
      "args": ["-y", "@kinlab/kin-mcp@<version>"]
    }
  }
}

Requirements

  • Node.js 20+
  • macOS, Linux, or native Windows x64
  • A Kin-initialized repository (kin init)

The native Windows archive carries semantic vector search but does not include transparent filesystem projection. Use WSL2 when you need projection.

Cache

The wrapper caches the downloaded kin and kin-daemon binaries under:

  • macOS: ~/Library/Caches/kin-mcp
  • Linux: ~/.cache/kin-mcp
  • Windows: %LOCALAPPDATA%\kin-mcp\Cache

Set KIN_MCP_CACHE_DIR to override the cache location.

Environment

  • KIN_MCP_KIN_BINARY: run a specific local kin binary instead of downloading one (you are then responsible for its kin-daemon)
  • KIN_BINARY_PATH: alias for KIN_MCP_KIN_BINARY
  • KIN_MCP_CACHE_DIR: override the cache directory
  • KIN_MCP_AUTO_INIT=1: allow the wrapper to run kin init . when .kin/ is missing
  • KIN_MCP_TOOL_PROFILE: override the default agent-default tool profile
  • KIN_MCP_RELEASE_BASE_URL: override the GitHub release download base URL

Local Check

npx -y @kinlab/kin-mcp --print-bin         # provisioned kin path
npx -y @kinlab/kin-mcp --print-daemon-bin  # provisioned kin-daemon path

Then initialize a repository and let the MCP client launch kin-mcp.

First-run smoke proof

test/smoke-first-run.mjs exercises the whole first-run path against built Kin binaries: it stages kin + kin-daemon into a throwaway cache (no pre-existing daemon, no dev PATH state), runs the wrapper, and drives the MCP stdio protocol through one safe semantic tool (kin_graph_status). Run it with:

cargo build --release -p kin-cli -p kin-daemon
KIN_BIN=target/release/kin \
KIN_DAEMON_BIN=target/release/kin-daemon \
npm run smoke