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

@ubgrade/cortex-mcp

v0.1.1

Published

Cortex Brain MCP — dynamic tool bridge for Claude Code and Cursor

Readme

@ubgrade/cortex-mcp

Dynamic MCP bridge for Cortex Brain — gives Claude Code, Cursor, and any MCP-compatible client persistent memory across sessions.

No hardcoded tools. The platform controls what tools are available based on your API key tier and permissions.

Install

Claude Code

claude mcp add cortex -- npx @ubgrade/cortex-mcp

Set your API key:

export CORTEX_API_KEY=cortex_key_...

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": ["@ubgrade/cortex-mcp"],
      "env": {
        "CORTEX_API_KEY": "cortex_key_..."
      }
    }
  }
}

Any MCP client

CORTEX_API_KEY=cortex_key_... npx @ubgrade/cortex-mcp

Configuration

| Environment Variable | Required | Default | Description | |---------------------|----------|---------|-------------| | CORTEX_API_KEY | Yes | — | Your API key from crewbase.cloud | | CORTEX_API_URL | No | https://api.ai-cortex.io | Platform API URL (use https://api.ai-cortex.eu for EU) |

How it works

  1. Authenticates with your API key
  2. Fetches available tools from the platform (GET /api/tools)
  3. Registers each tool with the MCP SDK
  4. Proxies tool calls back to the platform
  5. Polls for tool updates every 60 seconds

Tools are loaded dynamically — when the platform adds new tools or changes your tier, they appear automatically.

Offline mode

After the first successful connection, tools are cached locally at ~/.cortex-mcp/tools-cache.json. If the platform is temporarily unreachable, the MCP server starts with cached tools.

ChatGPT Custom GPT

Generate an OpenAPI spec for ChatGPT Custom GPT actions:

CORTEX_API_KEY=cortex_key_... npx @ubgrade/cortex-mcp --openapi > openapi.json

Paste the generated spec into your Custom GPT's actions configuration.

CLI

npx @ubgrade/cortex-mcp              # Start MCP server (stdio)
npx @ubgrade/cortex-mcp --openapi    # Generate OpenAPI spec to stdout
npx @ubgrade/cortex-mcp --version    # Print version

License

MIT