{"_id":"@ansvar/ch-organic-regen-mcp","_rev":"2-f58229df18e3b46ebde323bd42ac5d6a","name":"@ansvar/ch-organic-regen-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ansvar/ch-organic-regen-mcp","version":"0.1.0","keywords":["mcp","agriculture","organic","regenerative","bio-suisse","knospe","demeter","fibl","farming","switzerland"],"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/ch-organic-regen-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-organic-regen-mcp/issues"},"bin":{"ch-organic-regen-mcp":"dist/server.js"},"dist":{"shasum":"c194090ae6f795d8edd6c89facb19365eccd092a","tarball":"https://registry.npmjs.org/@ansvar/ch-organic-regen-mcp/-/ch-organic-regen-mcp-0.1.0.tgz","fileCount":108,"integrity":"sha512-rQ9nyZcq/C49JPR3c3fy/bpPDJRAOfvm7P+bQLYIY0e9GiQZ/i69EO1krcXyRZcxdnm2mmdLmGALQN5yUO306g==","signatures":[{"sig":"MEUCID09vtzjUCuxM4446VWY9ZF+pa0SxK0xmZphi7HyEkyiAiEAuLXdUSbcm6wcD6pF5w4h3iDjUbW8EPrubxuAv32hJTY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fch-organic-regen-mcp@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":404383},"main":"dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=20"},"gitHead":"890ae008d897e6cd00a62d6220ceb16f82639028","mcpName":"io.github.ansvar-systems/ch-organic-regen","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-organic-regen-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Swiss organic and regenerative farming via MCP -- Bio Suisse Knospe, FiBL Betriebsmittelliste, Demeter, conversion, soil health","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-organic-regen-mcp_0.1.0_1775385473572_0.8087196882775831","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/ch-organic-regen-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-04-05T10:37:53.459Z","modified":"2026-05-02T05:45:55.730Z","0.1.0":"2026-04-05T10:37:53.748Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/ch-organic-regen-mcp/issues"},"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu/open-agriculture","keywords":["mcp","agriculture","organic","regenerative","bio-suisse","knospe","demeter","fibl","farming","switzerland"],"repository":{"url":"git+https://github.com/Ansvar-Systems/ch-organic-regen-mcp.git","type":"git"},"description":"Swiss organic and regenerative farming via MCP -- Bio Suisse Knospe, FiBL Betriebsmittelliste, Demeter, conversion, soil health","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Switzerland Organic & Regenerative Farming MCP\n\n[![CI](https://github.com/ansvar-systems/ch-organic-regen-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/ansvar-systems/ch-organic-regen-mcp/actions/workflows/ci.yml)\n[![GHCR](https://github.com/ansvar-systems/ch-organic-regen-mcp/actions/workflows/ghcr-build.yml/badge.svg)](https://github.com/ansvar-systems/ch-organic-regen-mcp/actions/workflows/ghcr-build.yml)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSwiss organic and regenerative agriculture data via the [Model Context Protocol](https://modelcontextprotocol.io). Query Bio Suisse Knospe standards, Bio-Verordnung, FiBL Betriebsmittelliste, Demeter rules, conversion requirements, organic subsidies, soil health guidance, and certification processes -- all from your AI assistant.\n\nPart of [Ansvar Open Agriculture](https://ansvar.eu/open-agriculture).\n\n## Why This Exists\n\nSwiss organic farmers, advisors, and certification bodies need fast access to Bio Suisse Knospe rules, federal Bio-Verordnung requirements, FiBL approved input lists, Demeter biodynamic standards, conversion timelines, and subsidy rates. This information is published across multiple organisations (Bio Suisse, BLW, FiBL, Demeter Schweiz, AGRIDEA) in PDFs and web portals that AI assistants cannot query directly. This MCP server makes it all searchable.\n\n## Quick Start\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ch-organic-regen\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/ch-organic-regen-mcp\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\n```bash\nclaude mcp add ch-organic-regen npx @ansvar/ch-organic-regen-mcp\n```\n\n### Streamable HTTP (remote)\n\n```\nhttps://mcp.ansvar.eu/ch-organic-regen/mcp\n```\n\n### Docker (self-hosted)\n\n```bash\ndocker run -p 3000:3000 ghcr.io/ansvar-systems/ch-organic-regen-mcp:latest\n```\n\n### npm (stdio)\n\n```bash\nnpx @ansvar/ch-organic-regen-mcp\n```\n\n## Example Queries\n\nAsk your AI assistant:\n\n- \"Was sind die Knospe-Anforderungen fuer Futtermittel?\"\n- \"What are the conversion requirements for a dairy farm switching to organic?\"\n- \"Welche Pflanzenschutzmittel sind auf der FiBL-Betriebsmittelliste zugelassen?\"\n- \"What Bio-Beitrag subsidies are available in Bergzone II?\"\n- \"How does Demeter differ from Knospe for animal husbandry?\"\n- \"What composting methods are recommended for soil health?\"\n- \"How do I apply for Knospe certification through bio.inspecta?\"\n\n## Stats\n\n| Metric | Value |\n|--------|-------|\n| Tools | 10 (3 meta + 7 domain) |\n| Jurisdiction | CH (Switzerland) |\n| Data sources | Bio Suisse Knospe, Bio-Verordnung SR 910.18, FiBL Betriebsmittelliste, Demeter Schweiz, DZV Bio-Beitrag |\n| License (data) | Public standards / Swiss federal free reuse |\n| License (code) | Apache-2.0 |\n| Transport | stdio + Streamable HTTP |\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `about` | Server metadata and links |\n| `list_sources` | Data sources with freshness info |\n| `check_data_freshness` | Staleness status and refresh command |\n| `search_organic_rules` | FTS5 search across organic rules, conversion, and soil health data |\n| `get_conversion_requirements` | Conversion timeline and requirements by farm type |\n| `get_organic_standards` | Production rules comparing Knospe, Bio-Verordnung, and Demeter |\n| `get_approved_inputs` | FiBL Betriebsmittelliste: approved fertilisers, plant protection, feed |\n| `get_organic_subsidies` | Bio-Beitrag and Direktzahlungen rates by zone |\n| `get_soil_health_guidance` | Regenerative methods: composting, cover crops, agroforestry |\n| `search_certification_guidance` | Knospe certification process: bio.inspecta, Bio Test Agro |\n\nSee [TOOLS.md](TOOLS.md) for full parameter documentation.\n\n## Security Scanning\n\nThis repository runs security checks on every push:\n\n- **CodeQL** -- static analysis for JavaScript/TypeScript\n- **Gitleaks** -- secret detection across full history\n- **Dependency review** -- via Dependabot\n- **Container scanning** -- via GHCR build pipeline\n\nSee [SECURITY.md](SECURITY.md) for reporting policy.\n\n## Disclaimer\n\nThis tool provides reference data for informational purposes only. It is not professional agricultural advice. Always consult a qualified organic farming advisor (FiBL, Bio Suisse, cantonal authority, AGRIDEA) before making conversion or management decisions. See [DISCLAIMER.md](DISCLAIMER.md).\n\n## Contributing\n\nIssues and pull requests welcome. For security vulnerabilities, email security@ansvar.eu (do not open a public issue).\n\n## License\n\nApache-2.0. Data sourced from Bio Suisse, FiBL, BLW, and Demeter Schweiz under public standards and Swiss federal free-reuse terms.\n","readmeFilename":"README.md"}