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

menjometre-mcp

v2.0.0

Published

Menjometre — Model Context Protocol server for the Catalan public grants & contracts observatory. Read-only tools for any MCP-compatible LLM client.

Readme

menjometre-mcp

Menjometre over the Model Context Protocol. Give any MCP-compatible LLM client read-only access to the Catalan public grants & contracts observatory.

Menjometre is an independent observatory of Catalan public spending. It tracks:

  • ~19.5 M RAISC grant records (2016–present)
  • ~1.7 M public procurement contracts from Dades Obertes de Catalunya
  • ~496 K beneficiary entities with normalised identities
  • A statistical Menjometre score flagging concentration and recurrence patterns
  • A public-figure graph linking Parlament deputies, Generalitat officials, and board members of public entities

This package is a thin stdio proxy. It forwards MCP requests to the hosted HTTP server at https://www.menjometre.cat/mcp and streams the responses back. It holds no dataset, no credentials, and no per-user state.

Install & use

Zero-install, via npx from any MCP client config:

{
  "mcpServers": {
    "menjometre": {
      "command": "npx",
      "args": ["-y", "menjometre-mcp"]
    }
  }
}

Works in Claude Desktop, Claude Code, Cursor, Zed, Windsurf, Continue, and any other client that speaks the Model Context Protocol over stdio.

Or install globally:

npm install -g menjometre-mcp
menjometre-mcp

Example prompts

Once connected, ask your LLM things like:

  • "Which ten Catalan entities received the most RAISC funds in 2024?"
  • "Show me the concentration profile of a specific entity by CIF."
  • "Which grant-giving bodies award the largest share of their budget to a single beneficiary?"
  • "What percentage of a specific municipality's contracts are sole-source?"
  • "Explain how the Menjometre score is computed."

The server ships 48 tools across seven domains: entities, grants, contractes, organs, xarxa (public-figure graph), pressupostos, and meta (methodology and attribution).

Data licence & attribution

Every tool response includes a sources array citing the upstream dataset, licence, and publisher. The main sources are:

  • RAISC — Registre d'Ajuts i Subvencions de Catalunya (Generalitat de Catalunya, Llei 37/2007 de reutilització)
  • Dades Obertes de Catalunya — CC BY 4.0
  • BDNS — Base de Datos Nacional de Subvenciones (historical, deprecated)
  • Registre d'Entitats Jurídiques de Catalunya
  • DOGC — Diari Oficial de la Generalitat de Catalunya
  • Portal de la Transparència de Catalunya

Reuse of the data must preserve attribution. When a response includes scored entities, clients must also preserve the accompanying score_meta block — it carries the score scale, a not_an_accusation disclaimer, and a link to the methodology.

Legal envelope

Every response is wrapped in a five-layer envelope designed around Spanish civil rights law (LO 1/1982), the GDPR, and the Catalan public-sector reuse regime:

  • L1 transparencyget_methodology returns the full server identity, version, and methodology URL
  • L2 attribution — every success envelope includes sources
  • L3 data minimisation — explicit field allow-lists at the database layer; no tool returns more than it needs
  • L4 personal-data scope — public-figure predicates enforced at the database query, not client-side
  • L5 framing — every scored response embeds score_meta with scale, meaning, and a not_an_accusation disclaimer, and uses neutral statistical language ("top decile", "around the median")

Self-hosted / private deployments

Point the proxy at a private deployment:

MENJOMETRE_MCP_URL=https://mcp.example.internal/mcp \
MENJOMETRE_MCP_KEY=your-bearer-token \
npx -y menjometre-mcp
  • MENJOMETRE_MCP_URL — upstream Streamable HTTP endpoint (default: https://www.menjometre.cat/mcp)
  • MENJOMETRE_MCP_KEY — optional bearer token for gated deployments

Links

  • Website: https://menjometre.cat
  • Methodology: https://menjometre.cat/metodologia
  • Source (monorepo): https://gitlab.com/menjometre/menjometre
  • Server (HTTP endpoint): https://www.menjometre.cat/mcp

Licence

AGPL-3.0-or-later. The proxy is intentionally tiny (~100 lines) so it can be audited in a minute.