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

heor-studio-mcp

v0.1.0

Published

MCP server for HEOR Studio — turns a reviewed study spec into deterministic SAS + SQL for MarketScan. Deterministic tools by default; an LLM extract tool activates only when an API key is present.

Readme

@heor-studio/mcp

MCP server for HEOR Studio — turns a human-reviewed study spec into deterministic SAS + SQL for Merative MarketScan. Any MCP-capable LLM host (Claude Code, Claude Desktop, …) drives it.

Two modes, one server

  • Path A — keyless (default). The server exposes only deterministic tools. Your host's own LLM reads the protocol, drafts the spec from the exposed schema, and drives the tools. The server holds no API key and makes no LLM calls — the only network it touches is NLM/RxNav code lookups.
  • Path B — turnkey (optional). If ANTHROPIC_API_KEY is set, one extra tool, extract_spec, appears: it extracts a spec from protocol text server-side using your key.

Both paths converge on the same spec and the same non-skippable gate: generate_code refuses unless the spec is ready, every code is verified, and signoff:true is passed. No patient data ever reaches this process.

Tools

search_codes · validate_spec · generate_code (gated) · get_artifact · run_verification (planned) · export_bundle — plus extract_spec when a key is set.

Resources: heor://schema/study-spec, heor://schema/marketscan, heor://models. Prompts: extract_protocol_to_spec, verify_codelists, review_and_signoff.

Try it (from this repo, before npm publish)

Claude Code, keyless (path A):

claude mcp add heor-studio -- npx -y tsx packages/mcp/src/index.ts

Claude Code, turnkey (path B) — pass your own key:

claude mcp add heor-studio -e ANTHROPIC_API_KEY=sk-ant-... -- npx -y tsx packages/mcp/src/index.ts

Claude Desktop — add to claude_desktop_config.json (a built/published npx -y @heor-studio/mcp will replace the tsx entry point once packaged):

{
  "mcpServers": {
    "heor-studio": {
      "command": "npx",
      "args": ["-y", "tsx", "/absolute/path/to/heor-studio/packages/mcp/src/index.ts"],
      "env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
    }
  }
}

Smoke test (spawns the server over real stdio and exercises the full flow):

npm run mcp:smoke

License

Apache-2.0 (the server shim). The engine it wraps, @heor-studio/core, is AGPL-3.0-only. MarketScan® is a registered trademark of Merative US L.P.; HEOR Studio is independent and unaffiliated.