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-livestock-mcp

v0.1.0

Published

Swiss livestock regulations via MCP -- TSchV welfare standards, RAUS/BTS programmes, TVD movement rules, housing requirements, breed data

Readme

Switzerland Livestock MCP

Swiss livestock regulations via the Model Context Protocol. Covers welfare standards (TSchV), RAUS/BTS direct payment programmes, TVD animal movement rules, housing specifications, stocking densities, feed requirements, animal health, and breed data for cattle, pigs, poultry, sheep, goats, and horses.

Jurisdiction: Switzerland (CH) Sources: BLV (Tierschutzverordnung), BLW (Direktzahlungsverordnung), Identitas (TVD), Swiss breed associations Tools: 11 (3 meta + 8 domain) License: Apache-2.0

Quick Start

npx (stdio)

npx -y @ansvar/ch-livestock-mcp

Docker

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

Streamable HTTP (remote)

https://mcp.ansvar.eu/ch-livestock/mcp

No authentication required.

MCP Client Configuration

Claude Desktop / Cursor / Windsurf

Add to your MCP client config:

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

Or use the remote endpoint:

{
  "mcpServers": {
    "ch-livestock": {
      "url": "https://mcp.ansvar.eu/ch-livestock/mcp"
    }
  }
}

Tools

11 tools covering Swiss livestock regulation and guidance:

| Tool | Description | |------|-------------| | about | Server metadata: name, version, coverage, data sources | | list_sources | All data sources with authority, URL, license, freshness | | check_data_freshness | Staleness status and refresh command | | search_livestock_guidance | FTS across all livestock topics (welfare, housing, feeding, health, transport, breeds) | | get_welfare_standards | TSchV minimum and RAUS/BTS programme standards per species | | get_stocking_density | Animals per m2, space requirements by species, age class, housing type (TSchV Anhang 1) | | get_feed_requirements | Nutritional requirements per species and production stage, including GMF programme | | search_animal_health | Disease, symptom, prevention, and regulatory reporting search | | get_housing_requirements | Housing specs: space, ventilation, flooring, temperature (TSchV vs. BTS) | | get_movement_rules | TVD registration, transport, standstill, and Soemmerung rules | | get_breeding_guidance | Swiss breed data, breeding calendars, AI (kuenstliche Besamung), genetics |

Full parameter documentation: TOOLS.md

Data Sources

| Source | Authority | Coverage | |--------|-----------|----------| | Tierschutzverordnung (TSchV, SR 455.1) | BLV | Minimum welfare per species, space, housing, transport, slaughter | | Direktzahlungsverordnung (DZV) -- RAUS/BTS | BLW | Outdoor access (RAUS), housing standards (BTS), payment rates per GVE | | Tierverkehrsdatenbank (TVD) | Identitas / BLV | Animal registration, ear tags, movement reporting | | Zuchtorganisationen | Braunvieh Schweiz, swissherdbook, Mutterkuh Schweiz, Suisseporcs | Swiss cattle, pig, sheep, goat, horse breeds |

Data Coverage

  • 45 welfare standards across 6 species and 3 production systems (TSchV-Minimum, RAUS, BTS)
  • 25 stocking density records (TSchV Anhang 1)
  • 14 housing requirement specifications
  • 21 movement/transport rules (TVD, Transport, Soemmerung, Schlachtung)
  • 25 breed records across 5 species
  • 14 feed requirement specifications including GMF programme
  • 13 animal health records (diseases, prevention, regulatory status)
  • 157 FTS search index entries

Full coverage breakdown: COVERAGE.md

Development

npm install
npm run build
npm test
npm run lint

Ingestion

npm run ingest          # Standard incremental ingest
npm run ingest:full     # Full re-ingest (--force)
npm run ingest:fetch    # Fetch sources only (--fetch-only)
npm run ingest:diff     # Show what changed (--diff-only)

Running locally

npm run dev             # stdio mode (watch)
npm run start:http      # HTTP mode on port 3000

Disclaimer

This data is provided for informational purposes only and does not constitute legal or veterinary advice. The authoritative sources are the Swiss Animal Welfare Ordinance (TSchV, SR 455.1), the Animal Welfare Act (TSchG, SR 455), and guidance from BLV and BLW. Always consult the cantonal veterinary authority before making livestock management decisions.

Full bilingual disclaimer: DISCLAIMER.md

Links

License

Apache-2.0 -- see LICENSE