{"_id":"@ansvar/ch-livestock-mcp","_rev":"2-94d9ebd1ef60028e910babfa86e007fb","name":"@ansvar/ch-livestock-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ansvar/ch-livestock-mcp","version":"0.1.0","keywords":["mcp","agriculture","livestock","animal-welfare","tierschutz","farming","switzerland"],"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/ch-livestock-mcp@0.1.0","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://ansvar.eu/open-agriculture","bugs":{"url":"https://github.com/Ansvar-Systems/ch-livestock-mcp/issues"},"bin":{"ch-livestock-mcp":"dist/server.js"},"dist":{"shasum":"df9671de9962beb763ce530ee4e936fa6cbb5657","tarball":"https://registry.npmjs.org/@ansvar/ch-livestock-mcp/-/ch-livestock-mcp-0.1.0.tgz","fileCount":113,"integrity":"sha512-7ApErWjqx/gY6yOy3YmeTMMJ+xeTAYeyvyckvA0jQecznWzMJmq2eU71VXJ1hz0cv6YE15EwRq8NRx7A0uXedg==","signatures":[{"sig":"MEYCIQCdPz1dCKeWkCmizFoDhTjpyYoh//poxUOcS6UUJFHReAIhAKk+CMC+RtfYz+F7XZY3imbDc657PRSatHA3Fosty6+w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fch-livestock-mcp@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":448387},"main":"dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=20"},"gitHead":"b45d7d7f7a2e7f4dafc0b0e64b0a0112495dae2b","mcpName":"io.github.ansvar-systems/ch-livestock-mcp","scripts":{"dev":"tsx watch src/server.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsc","start":"node dist/server.js","ingest":"tsx scripts/ingest.ts","build:db":"tsx scripts/build-db.ts","typecheck":"tsc --noEmit","start:http":"node dist/http-server.js","test:watch":"vitest","ingest:diff":"tsx scripts/ingest.ts --diff-only","ingest:full":"tsx scripts/ingest.ts --force","ingest:fetch":"tsx scripts/ingest.ts --fetch-only","coverage:update":"tsx scripts/update-coverage.ts","freshness:check":"tsx scripts/check-freshness.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/ch-livestock-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Swiss livestock regulations via MCP -- TSchV welfare standards, RAUS/BTS programmes, TVD movement rules, housing requirements, breed data","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.23.0","better-sqlite3":"^11.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.5.0","@types/node":"^20.0.0","@types/better-sqlite3":"^7.6.0","@typescript-eslint/parser":"^8.0.0","@typescript-eslint/eslint-plugin":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ch-livestock-mcp_0.1.0_1775385450225_0.16760575919103715","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/ch-livestock-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-04-05T10:37:30.156Z","modified":"2026-05-02T05:45:53.580Z","0.1.0":"2026-04-05T10:37:30.428Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/ch-livestock-mcp/issues"},"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu/open-agriculture","keywords":["mcp","agriculture","livestock","animal-welfare","tierschutz","farming","switzerland"],"repository":{"url":"git+https://github.com/Ansvar-Systems/ch-livestock-mcp.git","type":"git"},"description":"Swiss livestock regulations via MCP -- TSchV welfare standards, RAUS/BTS programmes, TVD movement rules, housing requirements, breed data","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Switzerland Livestock MCP\n\nSwiss 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.\n\n**Jurisdiction:** Switzerland (CH)\n**Sources:** BLV (Tierschutzverordnung), BLW (Direktzahlungsverordnung), Identitas (TVD), Swiss breed associations\n**Tools:** 11 (3 meta + 8 domain)\n**License:** Apache-2.0\n\n## Quick Start\n\n### npx (stdio)\n\n```bash\nnpx -y @ansvar/ch-livestock-mcp\n```\n\n### Docker\n\n```bash\ndocker run -p 3000:3000 ghcr.io/ansvar-systems/ch-livestock-mcp:latest\n```\n\n### Streamable HTTP (remote)\n\n```\nhttps://mcp.ansvar.eu/ch-livestock/mcp\n```\n\nNo authentication required.\n\n## MCP Client Configuration\n\n### Claude Desktop / Cursor / Windsurf\n\nAdd to your MCP client config:\n\n```json\n{\n  \"mcpServers\": {\n    \"ch-livestock\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/ch-livestock-mcp\"]\n    }\n  }\n}\n```\n\nOr use the remote endpoint:\n\n```json\n{\n  \"mcpServers\": {\n    \"ch-livestock\": {\n      \"url\": \"https://mcp.ansvar.eu/ch-livestock/mcp\"\n    }\n  }\n}\n```\n\n## Tools\n\n11 tools covering Swiss livestock regulation and guidance:\n\n| Tool | Description |\n|------|-------------|\n| `about` | Server metadata: name, version, coverage, data sources |\n| `list_sources` | All data sources with authority, URL, license, freshness |\n| `check_data_freshness` | Staleness status and refresh command |\n| `search_livestock_guidance` | FTS across all livestock topics (welfare, housing, feeding, health, transport, breeds) |\n| `get_welfare_standards` | TSchV minimum and RAUS/BTS programme standards per species |\n| `get_stocking_density` | Animals per m2, space requirements by species, age class, housing type (TSchV Anhang 1) |\n| `get_feed_requirements` | Nutritional requirements per species and production stage, including GMF programme |\n| `search_animal_health` | Disease, symptom, prevention, and regulatory reporting search |\n| `get_housing_requirements` | Housing specs: space, ventilation, flooring, temperature (TSchV vs. BTS) |\n| `get_movement_rules` | TVD registration, transport, standstill, and Soemmerung rules |\n| `get_breeding_guidance` | Swiss breed data, breeding calendars, AI (kuenstliche Besamung), genetics |\n\nFull parameter documentation: [TOOLS.md](TOOLS.md)\n\n## Data Sources\n\n| Source | Authority | Coverage |\n|--------|-----------|----------|\n| Tierschutzverordnung (TSchV, SR 455.1) | BLV | Minimum welfare per species, space, housing, transport, slaughter |\n| Direktzahlungsverordnung (DZV) -- RAUS/BTS | BLW | Outdoor access (RAUS), housing standards (BTS), payment rates per GVE |\n| Tierverkehrsdatenbank (TVD) | Identitas / BLV | Animal registration, ear tags, movement reporting |\n| Zuchtorganisationen | Braunvieh Schweiz, swissherdbook, Mutterkuh Schweiz, Suisseporcs | Swiss cattle, pig, sheep, goat, horse breeds |\n\n## Data Coverage\n\n- 45 welfare standards across 6 species and 3 production systems (TSchV-Minimum, RAUS, BTS)\n- 25 stocking density records (TSchV Anhang 1)\n- 14 housing requirement specifications\n- 21 movement/transport rules (TVD, Transport, Soemmerung, Schlachtung)\n- 25 breed records across 5 species\n- 14 feed requirement specifications including GMF programme\n- 13 animal health records (diseases, prevention, regulatory status)\n- 157 FTS search index entries\n\nFull coverage breakdown: [COVERAGE.md](COVERAGE.md)\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnpm test\nnpm run lint\n```\n\n### Ingestion\n\n```bash\nnpm run ingest          # Standard incremental ingest\nnpm run ingest:full     # Full re-ingest (--force)\nnpm run ingest:fetch    # Fetch sources only (--fetch-only)\nnpm run ingest:diff     # Show what changed (--diff-only)\n```\n\n### Running locally\n\n```bash\nnpm run dev             # stdio mode (watch)\nnpm run start:http      # HTTP mode on port 3000\n```\n\n## Disclaimer\n\nThis 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.\n\nFull bilingual disclaimer: [DISCLAIMER.md](DISCLAIMER.md)\n\n## Links\n\n- [Ansvar Open Agriculture](https://ansvar.eu/open-agriculture)\n- [MCP Network](https://ansvar.ai/mcp)\n- [TOOLS.md](TOOLS.md) -- Full tool documentation\n- [COVERAGE.md](COVERAGE.md) -- Data coverage details\n- [SECURITY.md](SECURITY.md) -- Security policy\n- [PRIVACY.md](PRIVACY.md) -- Privacy policy\n\n## License\n\nApache-2.0 -- see [LICENSE](LICENSE)\n","readmeFilename":"README.md"}