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

ocip-graph-mcp

v0.1.5

Published

MCP server for OCIP graph API (Neo4j-backed Odoo intelligence) using Api-Key auth

Readme

OCIP Graph MCP

Node.js Model Context Protocol server that calls your OCIP backend with an API key (Authorization: Api-Key …) so editors (Cursor, Claude Desktop, Windsurf, etc.) can query Neo4j graph data: modules, models, search, subgraphs, and impact helpers.

Prerequisites

  1. Create an API key in the OCIP Dashboard (API keys section).
  2. Use read-only for safe graph queries, or read-write only if tools should trigger parse jobs via HTTP (this MCP package does not expose parse by default).

Install

cd ocip-mcp
npm install
npm run build

Environment

| Variable | Required | Example | |----------------|----------|----------------------------------| | OCIP_API_KEY | yes | ocip_live_… from dashboard | | OCIP_API_BASE| no | http://127.0.0.1:18000/api |

Cursor / Claude Desktop

Add an MCP server entry pointing at the built file. The args path must be the ocip-mcp package folder on disk, then dist/index.js — for example if the repo root is ~/work/ocip, use ~/work/ocip/ocip-mcp/dist/index.js (do not repeat ocip/ocip-mcp inside ocip-mcp).

{
  "mcpServers": {
    "ocip": {
      "command": "npx",
      "args": ["-y", "ocip-graph-mcp@latest"],
      "env": {
        "OCIP_API_KEY": "ocip_live_your_key_here",
        "OCIP_API_BASE": "http://127.0.0.1:18000/api"
      }
    }
  }
}

Adjust OCIP_API_BASE if your API is on another host (e.g. production).

spawn node ENOENT (Cursor cannot find Node)

The IDE often runs MCP with a minimal PATH, so node is missing even though it works in Terminal.

  1. Use the full path to Node (run which node in Terminal and paste it as command):

    • Apple Silicon Homebrew: often /opt/homebrew/bin/node
    • Intel Homebrew: often /usr/local/bin/node
    • nvm: e.g. $HOME/.nvm/versions/node/v22.14.0/bin/node
    "command": "/opt/homebrew/bin/node",
    "args": ["/Users/you/work/ocip/ocip-mcp/dist/index.js"]
  2. Or use a login shell so your shell profile (nvm, fnm, etc.) sets PATH:

    "command": "bash",
    "args": ["-lc", "node /Users/you/work/ocip/ocip-mcp/dist/index.js"],
    "env": { "OCIP_API_KEY": "...", "OCIP_API_BASE": "..." }
  3. Confirm the server file exists after npm run build: ocip-mcp/dist/index.js.

Cannot find module '.../dist/index.js' (wrong path)

Node is running, but the file path in args is wrong. Check in Terminal:

ls /path/you/used/in/mcp/config/dist/index.js
  • Correct (typical clone layout): /Users/you/work/ocip/ocip-mcp/dist/index.js
  • Wrong (extra nested segment): .../ocip-mcp/ocip/ocip-mcp/dist/index.js — that folder usually does not exist.

Tools exposed

  • ocip_list_projects
  • ocip_graph_searchproject_id, q
  • ocip_list_modulesproject_id, optional version
  • ocip_get_moduleproject_id, module_name
  • ocip_list_modelsproject_id
  • ocip_get_modelproject_id, model_name
  • ocip_graph_neighborhoodproject_id, name, optional node (Module|Model|Field|Function)
  • ocip_function_impactproject_id, function_name, optional model
  • ocip_field_impactproject_id, model_name, field_name

Graph reads consume your OCIP monthly quota like normal API usage.