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

@prom.codes/context-mcp

v0.4.6

Published

prom.codes Context — local-first codebase indexing & retrieval as an MCP server.

Readme

@prom.codes/context-mcp

prom.codes Context — local-first codebase indexing & retrieval as an MCP server (stdio).

Quick start (Claude Code)

claude mcp add context --env PROMETHEUS_API_KEY=prom_live_… -- npx -y @prom.codes/context-mcp@latest

claude mcp add defaults to local scope (just you); add --scope project to write a committable .mcp.json, or --scope user for all your projects. Other MCP hosts (Cursor, VS Code) use the same command/args in their own config.

Configuration

  • PROMETHEUS_API_KEY (required for semantic search) — a real key minted at app.prom.codes/app/api-keys, shape prom_live_<tag>_<secret>. Embeddings route through the managed prom.codes proxy — you never bring your own provider key. Without a valid key, code search degrades gracefully to lexical (keyword) + symbol-graph retrieval (no embeddings needed) and every structural tool still works.
  • Workspace root is auto-detected — no need to set PROMETHEUS_WORKSPACE_ROOT. Claude Code passes the open project via CLAUDE_PROJECT_DIR; Cursor/VS Code via the MCP roots capability. Set it only to point at a different folder.
  • The index is a local SQLite DB at ~/.prometheus/<hash>.db (one per project). Your code never leaves your machine — only embedding text transits to the proxy.
  • Won't crawl your home folder. If a fresh window opens with no project, the workspace falls back to the host cwd (often home); the server refuses to auto-index the home directory or a filesystem root and leaves the index empty until you open a real project. Call index_status to see what's going on.

Tools: search_code, get_symbol, find_references, find_callers, find_callees, expand_context, get_file, list_changed_since, list_workspaces, framework_overview, index_status (health check: which folder, how much is indexed, does the key work?).

Native modules

Uses native Tree-sitter grammars + better-sqlite3 for parsing and storage. Prebuilt binaries are fetched automatically on the mainstream platforms (macOS x64/arm64, Linux x64, Windows x64) — no compiler needed. On other platforms (e.g. Linux/Windows arm64) or a Node ABI without a prebuild, install C/C++ build tools so the native modules can compile (Windows: VS Build Tools). If npx skips the native build under a hardened npm (ignore-scripts=true), install globally once and point Claude Code at the built binary — see the docs. Requires Node ≥ 20.10.

Docs: https://prom.codes/docs/mcp/claude-code