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

@noon0ri/relief-mcp

v0.1.0

Published

MCP server that turns parts of a photo into a layered 3D relief (GLB files and a single-file HTML viewer).

Readme

relief-mcp

An MCP server that turns parts of a photo into a layered 3D relief — like a museum bas-relief — that tilts with the pointer. Claude looks at the photo, picks the parts with boxes, you approve the overlay it shows you, and the server writes one GLB per part plus relief.html, a single self-contained file you can open in any browser — no server needed, no dependencies to install to view it.

Install

With Claude Code:

claude mcp add relief -- npx -y @noon0ri/relief-mcp

From source

git clone https://github.com/noon0ri/relief-mcp.git
claude mcp add relief -s user -- node /path/to/relief-mcp/mcp/server.mjs

Then ask, for example: "Make a relief of the dog and the person in ~/Pictures/dog.jpg".

What you need

  • Node 20.9 or newer.
  • The first call downloads the segmentation and depth models, about 89 MB, cached at ~/.cache/relief-mcp (override with RELIEF_MCP_CACHE). Later calls use the cache.
  • Installing the package pulls in about 530 MB of dependencies (onnxruntime-node and sharp are most of it). The server uses about 1.4 GB of memory while it runs.

How it works / tools

| Tool | What it does | |---|---| | open_image(image) | Loads the photo, returns it with a coordinate grid and its working size (long side at most 1024 px). | | segment_parts(image, parts, open?) | Selects parts, front-most first. Each part is { box: [x0, y0, x1, y1], include?, exclude? }. Returns an overlay and per-part warnings, and opens the overlay image on your screen (open, default true) so you can check it before anything is built. | | make_relief(image, parts, out_dir?, open?) | Writes part-N.glb, relief.html and relief.json to <photo folder>/<photo name>-relief/ and opens relief.html. Refuses if the parts weren't just picked with segment_parts, and asks you to confirm in a dialog (MCP elicitation) before it writes anything — decline or cancel and nothing is written. |

The intended loop: segment_parts shows you an overlay (each part tinted and numbered) and Claude describes what it picked; only after you say it looks right does Claude call make_relief, and you get one more chance to confirm in the dialog before files are written.

Privacy

Your photo never leaves your computer. The only thing downloaded over the network is the model files, from Hugging Face, once, and cached locally. Results are written next to the photo, in <photo folder>/<photo name>-relief/. The overlay image and a small log of confirmation-dialog answers are written to a temp folder (elicit.log and the overlay JPEG) so you can review them later.

Tested / not tested

Checked on macOS (arm64) with Claude Code 2.1.278. Claude Desktop, Windows and Linux have not been run. relief.html was checked in Chrome (headless) and confirmed to open correctly in Safari; other browsers are untested.

License

MIT. The two models it downloads at runtime are each licensed separately and are not redistributed by this package: facebook/sam2.1-hiera-tiny and depth-anything/Depth-Anything-V2-Small-hf, both Apache-2.0.