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

@openswissdata/mcp

v0.1.1

Published

Standalone MCP server (STDIO) that proxies to the openswissdata.com remote MCP endpoint. Plug-and-play for Claude Desktop, Cursor, Cline and other MCP clients.

Readme

@openswissdata/mcp

npm version License Node.js >=18

Standalone MCP (Model Context Protocol) server that proxies STDIO ⇄ the live openswissdata HTTP MCP endpoint.

Plug-and-play for Claude Desktop, Cursor, Cline, VS Code Copilot Chat and any other MCP client. The package ships an executable named openswissdata-mcp which the client launches as a child process — no separate backend deploy needed.

The MCP server you find in the openswissdata core repo at src/mcp/ is HTTP-only (Hono-mounted at mcp.openswissdata.com/jsonrpc). This package is the STDIO bridge that talks to that remote on your behalf.

What you get

  • 9 tools: tariff_lookup, tariff_semantic_search, tariff_changelog, cross_walk, classify_text, kyc_check, finma_search, entity_history, statent_lookup.
  • The mandatory non-official disclaimers (TARES) are passed through untouched in content[].text.
  • Anonymous tier works out of the box (~100 requests/day per IP). Bring your own OPENSWISSDATA_API_KEY for higher quotas.

Install

You don't need to install anything — npx will fetch the package on demand. To pin globally:

npm install -g @openswissdata/mcp

Claude Desktop

Edit your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "openswissdata": {
      "command": "npx",
      "args": ["-y", "@openswissdata/mcp"],
      "env": {
        "OPENSWISSDATA_API_KEY": "sk_live_..." // optional, anonymous tier otherwise
      }
    }
  }
}

Restart Claude Desktop. The 9 tools should appear under the MCP tool icon.

A copy of the snippet ships in examples/claude-desktop-config.json.

Cursor

Edit ~/.cursor/mcp.json (global) or <workspace>/.cursor/mcp.json:

{
  "mcpServers": {
    "openswissdata": {
      "command": "npx",
      "args": ["-y", "@openswissdata/mcp"],
      "env": {
        "OPENSWISSDATA_API_KEY": "sk_live_..."
      }
    }
  }
}

See examples/cursor-mcp.json.

Cline

Add a stdio MCP server through Cline's UI (or directly in .vscode/mcp.json) with:

  • Command: npx
  • Args: -y @openswissdata/mcp
  • Env: OPENSWISSDATA_API_KEY=sk_live_...

See examples/cline-config.json.

Configuration

| Variable | Default | Description | | ----------------------------- | ------------------------------------ | -------------------------------------- | | OPENSWISSDATA_API_KEY | (anonymous) | Bearer token for higher quotas / paid tools | | OPENSWISSDATA_BASE_URL | https://mcp.openswissdata.com | Override (staging, self-host) | | OPENSWISSDATA_TIMEOUT_MS | 30000 | Per-request timeout |

CLI flags:

openswissdata-mcp --version
openswissdata-mcp --help

Docker

A two-stage non-root Dockerfile is included (Glama / Smithery friendly):

docker build -t openswissdata-mcp .
docker run --rm -i \
  -e OPENSWISSDATA_API_KEY=sk_live_... \
  openswissdata-mcp

(STDIO MCP servers are interactive — pass -i so stdin is open.)

How it works

┌──────────────────┐  STDIO   ┌──────────────────┐  HTTPS   ┌────────────────────────┐
│ Claude Desktop   │  ───────▶│  openswissdata-  │  ──────▶│ mcp.openswissdata.com  │
│ Cursor / Cline   │ ◀────── │  mcp (this pkg)  │ ◀────── │  (Hono + 9 tools)      │
└──────────────────┘          └──────────────────┘          └────────────────────────┘

The standalone server uses the official @modelcontextprotocol/sdk for STDIO transport and forwards every tools/list / tools/call to the remote JSON-RPC endpoint. Tool descriptors come from the remote so this binary stays trivially up-to-date when the API gains new tools.

Disclaimers

OpenSwissData is a non-official mirror of public Swiss government datasets (TARES / NOGA / NACE / ISIC / FINMA registry). TARES tool calls return a mandatory non-official notice in their text content — the agent must surface this to the end user before customs decisions. Final decisions always go back to xtares.admin.ch / finma.ch.

Development

npm install
npm run dev         # tsx — live STDIO server reading from your terminal (Ctrl-D to exit)
npm test            # vitest, mocked HTTP — no live API calls
npm run typecheck
npm run build

License

Apache 2.0 — see LICENSE.