🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ansvar/ch-livestock-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ansvar/ch-livestock-mcp

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

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
4
-75%
Maintainers
1
Weekly downloads
 
Created
Source

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:

ToolDescription
aboutServer metadata: name, version, coverage, data sources
list_sourcesAll data sources with authority, URL, license, freshness
check_data_freshnessStaleness status and refresh command
search_livestock_guidanceFTS across all livestock topics (welfare, housing, feeding, health, transport, breeds)
get_welfare_standardsTSchV minimum and RAUS/BTS programme standards per species
get_stocking_densityAnimals per m2, space requirements by species, age class, housing type (TSchV Anhang 1)
get_feed_requirementsNutritional requirements per species and production stage, including GMF programme
search_animal_healthDisease, symptom, prevention, and regulatory reporting search
get_housing_requirementsHousing specs: space, ventilation, flooring, temperature (TSchV vs. BTS)
get_movement_rulesTVD registration, transport, standstill, and Soemmerung rules
get_breeding_guidanceSwiss breed data, breeding calendars, AI (kuenstliche Besamung), genetics

Full parameter documentation: TOOLS.md

Data Sources

SourceAuthorityCoverage
Tierschutzverordnung (TSchV, SR 455.1)BLVMinimum welfare per species, space, housing, transport, slaughter
Direktzahlungsverordnung (DZV) -- RAUS/BTSBLWOutdoor access (RAUS), housing standards (BTS), payment rates per GVE
Tierverkehrsdatenbank (TVD)Identitas / BLVAnimal registration, ear tags, movement reporting
ZuchtorganisationenBraunvieh Schweiz, swissherdbook, Mutterkuh Schweiz, SuisseporcsSwiss 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

License

Apache-2.0 -- see LICENSE

Keywords

mcp

FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts