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

@compass-food/mcp

v0.3.1

Published

MCP server for Compass DaaS - explainable dietary intelligence for AI agents

Downloads

87

Readme

Compass DaaS MCP

Smithery badge

MCP server for Compass DaaS. It exposes three restaurant dietary decision tools over the Model Context Protocol and calls the Compass REST API with your API key.

Quick Start

npx -y @compass-food/mcp

Set COMPASS_API_KEY before starting the server:

export COMPASS_API_KEY=cmp_test_your_sandbox_key

For staging or local testing, set:

export COMPASS_BASE_URL=https://daas-api-veganmapai-1a8b7.a.run.app

Install

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "compass": {
      "command": "npx",
      "args": ["-y", "@compass-food/mcp"],
      "env": {
        "COMPASS_API_KEY": "cmp_test_your_sandbox_key"
      }
    }
  }
}

Cursor

Add to Cursor MCP settings (~/.cursor/mcp.json globally, or .cursor/mcp.json in a workspace):

{
  "mcpServers": {
    "compass": {
      "command": "npx",
      "args": ["-y", "@compass-food/mcp"],
      "env": {
        "COMPASS_API_KEY": "cmp_test_your_sandbox_key"
      }
    }
  }
}

Codex CLI

Edit ~/.codex/config.toml:

[mcp_servers.compass]
command = "npx"
args = ["-y", "@compass-food/mcp"]

[mcp_servers.compass.env]
COMPASS_API_KEY = "cmp_test_your_sandbox_key"

Get an API key

Sign up free — 1,000 Compass credits/month, no credit card required.

Tools

compass_search

Wraps POST /v1/search. The mode tool argument is sent to the REST API as the X-Compass-Mode header.

{
  "query": "strict vegan ramen in Brooklyn under $20",
  "user_profile": {
    "diet": "strict_vegan",
    "allergens": ["peanut"],
    "exclude_cross_contamination": true
  },
  "location": {
    "lat": 40.6782,
    "lng": -73.9442,
    "radius_m": 5000
  },
  "limit": 10,
  "mode": "rich"
}

compass_enrich_restaurant

Wraps POST /v1/enrich/restaurant. Use compass_id for direct lookup, or name plus address or google_place_id for fuzzy match.

{
  "name": "Buddha Bodai",
  "address": "5 Mott St, New York, NY"
}

compass_decide_fit

Wraps POST /v1/decision/restaurant-fit. The mode tool argument is sent to the REST API as the X-Compass-Mode header.

{
  "compass_id": "rest_xyz789",
  "user_profile": {
    "diet": "strict_vegan",
    "exclude_cross_contamination": true
  },
  "mode": "rich"
}

API Key Resolution

The server checks:

  1. COMPASS_API_KEY
  2. ~/.compass/config.json

Config file:

{
  "api_key": "cmp_live_abc123",
  "base_url": "https://api.compassfoodtechnologies.com"
}

Privacy

This package sends tool calls only to the configured Compass API base URL. It does not send secondary usage data.

Links

  • Site: https://compassfoodtechnologies.com
  • Signup: https://compassfoodtechnologies.com/signup
  • API docs: https://api.compassfoodtechnologies.com/openapi
  • Source: https://github.com/compass-food/compass-mcp
  • npm: https://www.npmjs.com/package/@compass-food/mcp
  • Support: [email protected]

License

MIT