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

ergosum-mcp

v0.2.0

Published

ErgoSum MCP server — expose your workspace to Claude, Cursor, and any MCP-compatible AI

Readme

ergosum-mcp

MCP (Model Context Protocol) server for ErgoSum. Exposes your workspace context to Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.

What is ergosum-mcp?

ErgoSum is a developer context platform where you write project documentation, decisions, todos, and architecture notes in a structured workspace. This MCP server lets AI assistants directly access that context without copy-pasting or manual file sharing.

When installed, your AI tool can:

  • List all pages in your workspace as a tree
  • Fetch full page content by slug
  • Search semantically across your entire workspace
  • Ask questions with AI-generated answers sourced from your docs
  • Create and edit pages directly from the AI chat

Installation

npm install -g ergosum-mcp

Setup

One-command setup (recommended)

The easiest way to configure your AI tool:

# Install for Claude Code and Cursor
ergsum mcp install

# Or install for specific tools
ergsum mcp install claude
ergsum mcp install cursor
ergsum mcp install windsurf

This automatically updates the correct config file for your tool.

Manual setup

If you prefer to configure manually, add this to your tool's MCP config:

Claude Code (~/.claude/settings.json):

{
  "mcpServers": {
    "ergosum": {
      "command": "ergosum-mcp"
    }
  }
}

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "ergosum": {
      "command": "ergosum-mcp"
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "ergosum": {
      "command": "ergosum-mcp"
    }
  }
}

After adding the config, restart your AI tool to activate the MCP server.

Authentication

The MCP server uses the same authentication as the ErgoSum CLI. Run ergsum login first to authenticate:

npm install -g ergosum-cli
ergsum login

You can also set the ERGOSUM_TOKEN environment variable to override the stored token.

Available Tools

Once installed, your AI assistant will have access to these tools:

  • list_pages — View your workspace as a tree with all page titles and slugs
  • get_page — Fetch full markdown content of a page by slug
  • search — Semantic search across your entire workspace
  • search_in — Search within a specific project or page subtree
  • ask — Ask a question and get an AI answer sourced from your workspace
  • recent_pages — List recently modified pages
  • workspace_status — Check workspace health and search coverage
  • create_page — Create a new page with content
  • edit_page — Update an existing page

Example Usage

Your AI assistant can now respond to requests like:

  • "Show me the project tree"
  • "What's in the architecture decisions page?"
  • "Search for authentication patterns"
  • "What's the current status of the API redesign?"
  • "Create a new page called 'Testing Strategy' under the main project"

Links