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

@senoldogann/context-manager

v0.1.21

Published

LLM Context Manager MCP Server & CLI wrapper using npx

Readme

@senoldogann/context-manager

🧠 The Neural Backbone for Autonomous AI Agents

Node.js wrapper for Cognitive Codebase Matrix (CCM) - Enables AI agents to understand and navigate your codebase with surgical precision.

npm MCP Rust


🚀 Quick Start

Prerequisites

  1. Node.js 16+ installed
  2. Ollama installed and running (for local embeddings)
    • Download: https://ollama.com
    • Pull required model: ollama pull mxbai-embed-large

Installation

# 1. Install and configure for Claude Desktop, Antigravity, Cursor, etc.
npx @senoldogann/context-manager install

# 2. Index your project
npx @senoldogann/context-manager index --path .

That's it! Restart your AI editor and start asking questions about your code.


📖 What is CCM?

CCM transforms static source code into a dynamic, queryable Knowledge Graph:

  • 🔍 Semantic Search - Find code by meaning ("where is auth logic?")
  • 🧠 Graph Navigation - Understand relationships ("who calls this function?")
  • 📍 Cursor Context - Get relevant code based on your position

🔧 Commands

The npm wrapper downloads pre-built binaries and passes commands through:

| Command | Description | |---------|-------------| | npx @senoldogann/context-manager install | Auto-configure MCP for editors | | npx @senoldogann/context-manager index --path <dir> | Index a project | | npx @senoldogann/context-manager query --text "..." | Search codebase | | npx @senoldogann/context-manager mcp | Run MCP server directly | | npx @senoldogann/context-manager eval --tasks <file> | Run evaluation tasks |

Options

# Watch mode - auto-reindex on file changes
npx @senoldogann/context-manager index --path . --watch

# Custom database path
npx @senoldogann/context-manager index --path . --db-path /custom/path

🔒 Privacy by Default

CCM uses a Local-First architecture:

  • ✅ Your code never leaves your machine
  • ✅ All embeddings run locally via Ollama
  • ✅ No external API calls (unless you configure OpenAI)

⚙️ Configuration

Environment Variables

Create ~/.ccm/.env:

# Local (Recommended)
EMBEDDING_PROVIDER=ollama
EMBEDDING_HOST=http://127.0.0.1:11434
EMBEDDING_MODEL=mxbai-embed-large

# Cloud (Optional)
EMBEDDING_PROVIDER=openai
EMBEDDING_API_KEY=sk-your-key
EMBEDDING_MODEL=text-embedding-3-small

# Networking & Limits
EMBEDDING_TIMEOUT_SECS=30
CCM_MAX_FILE_BYTES=2097152

# MCP Security
CCM_ALLOWED_ROOTS=/Users/you/projects:/Users/you/sandbox
CCM_REQUIRE_ALLOWED_ROOTS=0

# MCP Runtime
CCM_MCP_ENGINE_CACHE_SIZE=8
CCM_MCP_DEBUG=0

# Optional: disable embeddings entirely (semantic search disabled)
CCM_DISABLE_EMBEDDER=0

# Optional: embed data files (md/json/yaml) into vector search
CCM_EMBED_DATA_FILES=0

# Binary checksum verification (0 = enforce, 1 = bypass)
CCM_ALLOW_UNVERIFIED_BINARIES=0

Production Tip: Set CCM_ALLOWED_ROOTS and enable CCM_REQUIRE_ALLOWED_ROOTS=1 to restrict MCP access.


🤖 Usage in AI

Once configured, ask your AI agent:

"Search for the authentication flow in this codebase."

"Read the graph for UserService and show me its callers."

"What functions call parse_config?"


📦 For Developers

This package handles:

  1. OS/architecture detection
  2. Binary download from GitHub Releases
  3. Global persistence in ~/.ccm

✅ Binary Integrity

Downloads are verified against checksums.txt from the GitHub Release.
If the manifest is missing or a mismatch occurs, you can set CCM_ALLOW_UNVERIFIED_BINARIES=1 to bypass verification (not recommended).

📄 Data Files in Search

By default, data files (.md, .json, .yaml) are indexed but not embedded.
Enable CCM_EMBED_DATA_FILES=1 to include them in semantic search.

Source: https://github.com/senoldogann/LLM-Context-Manager


📝 Changelog

v0.1.21

  • ✅ Release checksums (checksums.txt) for binary integrity
  • ✅ MCP allowlist with optional strict enforcement
  • ✅ Data file embedding is optional (CCM_EMBED_DATA_FILES)
  • ✅ CLI/MCP integration tests

v0.1.20

  • ✅ 100% evaluation pass rate
  • ✅ Hybrid scoring (graph + semantic)
  • ✅ Lazy indexing support
  • ✅ Watch mode for auto-reindexing

Built with ❤️ in Rust