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

@mcp-lens/server

v0.1.3

Published

Standalone MCP Lens server. Run alongside any MCP server to give the agent the show_lens tool plus a domain-blind set of moment-shaped presets, so the agent can compose rich next-turn affordances on top of data the upstream server doesn't know about.

Readme

@mcp-lens/server

Standalone MCP server that ships the MCP Lens machinery — show_lens, the renderer, and three domain-blind moment-shaped presets — behind a stdio binary you can drop into any MCP host's connector list.

Pair it with any unaware upstream MCP server (one that doesn't itself depend on @mcp-lens/sdk) to give that server's data agent-composed views without writing a line of code.

Use

In Claude Desktop, ChatGPT Apps, or any other MCP host that accepts a stdio connector config:

{
  "mcpServers": {
    "lens": {
      "command": "npx",
      "args": ["-y", "@mcp-lens/server"]
    }
  }
}

That runs the stdio server by default. The package also exposes explicit mcp-lens-server and mcp-lens-server-http binaries.

Then register your real MCP server (recipes, tickets, whatever) alongside it. The agent gets show_lens from lens and the domain tools from the other connector. It composes lenses against the upstream's data using the three generic presets shipped here.

For HTTP transport (ChatGPT Apps via tunnel, Slack pilot, etc.):

npx -y --package @mcp-lens/server mcp-lens-server-http   # listens on :3010 by default; override with PORT

What it ships

  • show_lens — the canonical lens-rendering tool. Same as installing @mcp-lens/sdk directly.
  • get_lens_guide — session bootstrap: returns the spec reference + preset index. The agent calls this before composing its first lens.
  • get_lens_preset(name) — fetch one of the three generic moment-shaped presets.

What it does not ship:

  • A memorialize tool. The SDK never ships one (server authors define their own); this standalone server has no identity story to wire one to. When paired with an upstream that does advertise a memorialize-style tool, the agent will find it by description and use it. When paired with an upstream that doesn't, the renderer's star prompt degrades gracefully — the agent acknowledges the preference in conversation for the rest of the session.
  • Domain-specific presets — bring your own (or fork this and add them).

When to use this vs. integrating directly

| Use this | Integrate @mcp-lens/sdk directly | |---|---| | You don't own the upstream MCP server | You own the upstream server | | You want a quick "drop in and see lenses" demo | You want domain-specific presets and lifecycle-aware affordances | | The generic presets cover your moments | You need bespoke moment shapes for your data |

The generic presets cover catalog-shaped data well. They're weaker for specialized domains (incident management, ticket workflows, anything with non-trivial lifecycles) — for those, integrate the SDK and ship your own presets.

License

MIT.