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

@mtdt/observeops-ds-mcp

v0.4.1

Published

MCP server for the Motadata ObserveOps design system — serves @mtdt/observeops-ds-spec to AI agents as tools + resources (search/get components with resolved token values, resolve tokens, get theme, recipes, layout, validate usage, the operating contract)

Downloads

791

Readme

@mtdt/observeops-ds-mcp

An MCP server for the Motadata ObserveOps design system. It serves the published spec (@mtdt/observeops-ds-spec) to AI agents as live tools + resources, so the agent fetches exactly what it needs and gets a hard STOP-and-ASK signal when something isn't in the DS — instead of loading the whole spec into context or guessing.

This is the active interface over the DS; the npm spec package is the source of truth it reads, and the Storybook is the visual reference.

Tools

| Tool | What it does | | --- | --- | | search_components(query, family?) | rank catalogued components; no match → returns the STOP-and-ASK instruction | | get_component(id) | full registry: props/events/slots/apis, variants, states, do/dont, a11y + resolvedTokens (each token with its real light/dark value) | | resolve_token(token) | resolve a token by name (--var/@var) or by purpose ("card surface"); never hardcode | | get_theme() | the whole resolved palette (brand/surfaces/text/status/severity + structural), light + dark — brand is navy --primary, not blue | | get_recipe(query) | match a screen/flow to a recipe → regions, components, gotchas, $gap markers | | get_layout(kind) | shells / screenRegions / contentLayouts / panels / pageTemplates / grid / appShell | | list_gaps() | the building blocks NOT in the DS (charts/topology) — hitting one = STOP and ASK | | validate_usage({components?, colors?, snippet?}) | check output before finishing — flags non-DS components, hardcoded colours, mds-* tokens | | get_contract() | the full AI operating contract (AGENTS.md) |

Also exposes resources (spec://contract, spec://index, spec://recipes, spec://tokens/*, …) and a prompt (build-observeops-ui) that primes the workflow.

Connect an agent (stdio)

Claude Code:

claude mcp add observeops-ds -- npx -y @mtdt/observeops-ds-mcp

Cursor / Windsurf / Cline / VS Code — add to the MCP config (.cursor/mcp.json etc.):

{
  "mcpServers": {
    "observeops-ds": {
      "command": "npx",
      "args": ["-y", "@mtdt/observeops-ds-mcp"]
    }
  }
}

HTTP transport (remote / team)

npx @mtdt/observeops-ds-mcp-http   # or: node dist/http.js   (PORT=3333 default)
# POST JSON-RPC to http://<host>:3333/mcp ; GET /health for a liveness check

The HTTP server is stateless and unauthenticated by default — put it behind a host + auth before exposing it beyond localhost.

Develop

npm install
npm run build          # tsc -> dist/
npm run smoke          # stdio: spins up the server, drives every tool with an MCP client
node test/http-smoke.mjs   # HTTP: spawns the server, connects over streamable HTTP

The server depends on @mtdt/observeops-ds-spec and reuses its loader — bump that dependency to pick up spec changes; no data is duplicated here.