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

@ansvar/ch-farm-subsidies-mcp

v0.1.0

Published

Swiss farm subsidies and direct payments via MCP -- Direktzahlungen, OELN, Biodiversitaet

Readme

Switzerland Farm Subsidies MCP

CI Build and Push to GHCR npm License: Apache-2.0

Swiss direct payment system (Direktzahlungen) based on the Direct Payments Ordinance (DZV, SR 910.13) and Federal Office for Agriculture (BLW) directives. Covers all 7 payment categories, OELN ecological proof of performance, zone-differentiated payment rates, and Agate portal application guidance.

Jurisdiction: Switzerland (CH)

Payment Categories

| Category | German Name | Description | |----------|-------------|-------------| | Kulturlandschaft | Kulturlandschaftsbeitraege | Upland, slope, and alpine grazing payments | | Versorgungssicherheit | Versorgungssicherheitsbeitraege | Food supply security (arable, grassland, base payments) | | Biodiversitaet | Biodiversitaetsbeitraege | Biodiversity promotion areas (BFF), quality levels I/II | | Landschaftsqualitaet | Landschaftsqualitaetsbeitraege | Landscape quality projects (cantonal programmes) | | Produktionssystem | Produktionssystembeitraege | Organic, extenso, GMO-free, animal welfare | | Ressourceneffizienz | Ressourceneffizienzbeitraege | Resource efficiency (precision farming, soil protection) | | Uebergang | Uebergangsbeitraege | Transitional payments (AP 14-17 to AP 22+) |

Quick Start

npx (stdio)

npx -y @ansvar/ch-farm-subsidies-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ch-farm-subsidies": {
      "command": "npx",
      "args": ["-y", "@ansvar/ch-farm-subsidies-mcp"]
    }
  }
}

Claude Code

claude mcp add ch-farm-subsidies -- npx -y @ansvar/ch-farm-subsidies-mcp

Streamable HTTP (remote)

https://mcp.ansvar.eu/ch-farm-subsidies/mcp

No authentication required.

Docker

docker run -p 3000:3000 ghcr.io/ansvar-systems/ch-farm-subsidies-mcp:latest

The HTTP server exposes /mcp (Streamable HTTP) and /health (health check).

Tools

| Tool | Description | |------|-------------| | about | Server metadata: name, version, coverage, data sources, links | | list_sources | All data sources with authority, URL, license, freshness | | check_data_freshness | Staleness status, last ingest date, refresh command | | search_schemes | FTS5 search across all direct payment schemes | | get_scheme_details | Full details for a specific scheme: requirements, rates, legal basis | | get_payment_rates | CHF rates per unit (ha, GVE, NST), filterable by altitude zone | | check_eligibility | Eligible schemes for a farm based on land type, zone, farm type | | list_scheme_options | All options within a payment category, or all categories | | get_oeln_requirements | OELN ecological requirements (all 12 or a specific one) | | search_application_guidance | Agate portal guidance: deadlines, process, documents, common mistakes |

See TOOLS.md for full parameter documentation and examples.

Data

  • 20 direct payment schemes across 7 categories
  • 80 zone-differentiated payment rates
  • 12 OELN ecological requirements
  • 8 application guidance entries
  • FTS5 full-text search with tiered fallback (phrase, AND, prefix, stemmed, OR, LIKE)

See COVERAGE.md for full coverage details and known gaps.

Sources

| Source | Authority | URL | |--------|-----------|-----| | Direktzahlungsverordnung (DZV, SR 910.13) | BLW | fedlex.admin.ch | | BLW Weisungen und Erlaeuterungen | BLW | blw.admin.ch | | Agrarbericht | BLW | agrarbericht.ch | | Agate-Portal | BLW / Kantone | agate.ch |

All sources are official Swiss federal publications, freely reusable.

Legal

  • Disclaimer: DISCLAIMER.md -- not legal advice, verify with cantonal authorities
  • Privacy: PRIVACY.md -- no personal data collected
  • Security: SECURITY.md -- responsible disclosure

Development

npm ci
npm run build
npm test
npm run lint
npm run dev          # stdio watch mode
npm run start:http   # HTTP server on port 3000

License

Apache-2.0 -- see LICENSE.

Copyright 2026 Ansvar Systems

Part of the Ansvar MCP Network.