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 🙏

© 2025 – Pkg Stats / Ryan Hefner

context-engine

v0.2.2

Published

ContextEngine MCP Server - Up-to-date documentation and code examples for any library

Readme

ContextEngine MCP Server

A Model Context Protocol (MCP) server that provides an interface to the ContextEngine system - a comprehensive Documentation Driven Development (DDD) methodology. This MCP server enables AI assistants to access ContextEngine's structured workflows, context management tools, and knowledge graph system for documentation-first development processes, eliminating repetitive context provision and ensuring code generation follows documented requirements.

🚀 What is ContextEngine?

ContextEngine is an MCP server that implements a comprehensive Documentation Driven Development (DDD) system. It provides structured workflows, context management, and tools that enable AI assistants and humans to collaborate effectively through documentation-first development methodologies.

Core Philosophy

ContextEngine addresses the fundamental challenges of AI-human collaboration in software development:

  • Context Management: Eliminates repetitive context provision by creating persistent documentation repositories
  • Quality Assurance: Ensures code generation follows documented requirements and specifications
  • Scalability: Handles 3x to 30x more information per person than traditional development methods
  • Business Alignment: Maintains clear connection between technical implementation and business value

Features

  • Documentation-Driven Workflows: 9 standardized workflows for different development activities
  • Context Engineering: Dynamic context composition and provision through knowledge graph
  • Structured Documentation: Plan and task documents with hierarchical organization
  • Local Documentation Setup: Automatic creation of organized folder structure and configuration files
  • TypeScript: Full type safety and modern development experience
  • Authentication: Built-in support for API keys and authentication
  • Comprehensive Logging: Structured logging with proper MCP compatibility

🛠️ Installation

Requirements

  • Node.js >= v18.0.0
  • Cursor, Claude Code, VSCode, Windsurf or another MCP Client

Connecting to MCP Clients

"mcp": {
  "servers": {
    "context-engine": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "context-engine", "--api-key", "YOUR_API_KEY"]
    }
  }
}

🔨 Available Tools

ContextEngine provides tools for DDD workflow execution:

1. start_context_engine

Starts the ContextEngine system and automatically sets up the local documentation structure. This tool:

  • Initializes the ContextEngine via API call to establish system awareness
  • Creates local documentation structure with organized folders for DDD workflows
  • Sets up configuration files with default settings and workflow definitions
  • Provides comprehensive feedback about both remote and local setup status

The tool creates a .context-engine directory structure:

.context-engine/
├── implementation/       # For completed documentation and implementations
├── requirements/         # For requirements and specifications  
└── config/              # For configuration files
    ├── settings.json     # ContextEngine settings
    └── workflows.json    # Workflow configurations

Response Format: Returns a combined status showing both API response and local setup results with clear emoji indicators:

  • 📁 Success: Documentation structure setup completed
  • ⚠️ Warning: Setup completed with issues
  • ❌ Error: Setup failed (but API call succeeded)

CLI Arguments

Your MCP server accepts the following CLI flags:

  • --transport <stdio|http> – Transport to use (stdio by default)
  • --port <number> – Port to listen on when using http transport (default 3000)
  • --api-key <key> – API key for authentication (if needed)
  • --server-url <url> – Custom server URL (defaults to https://contextengine.in)

📚 Usage

  1. Start ContextEngine: Use the start_context_engine tool to initialize the DDD system and set up local documentation structure and local documentation setup results

  2. Select Workflow: Choose from 9 available workflows based on your development objective

  3. Execute Workflow: Follow the structured workflow phases to complete your development task

  4. Integrate with AI assistants: Connect to Cursor, VS Code, Claude Code, etc.

📄 License

MIT