{"_id":"@ansvar/ch-pest-management-mcp","_rev":"2-c10280d832b1a19123a3fc34cca0422d","name":"@ansvar/ch-pest-management-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ansvar/ch-pest-management-mcp","version":"0.1.0","keywords":["mcp","agriculture","pest-management","pflanzenschutz","ipm","farming","switzerland"],"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/ch-pest-management-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-pest-management-mcp/issues"},"bin":{"ch-pest-management-mcp":"dist/server.js"},"dist":{"shasum":"d093937df8f565902bb490092cec0de3063e91dc","tarball":"https://registry.npmjs.org/@ansvar/ch-pest-management-mcp/-/ch-pest-management-mcp-0.1.0.tgz","fileCount":108,"integrity":"sha512-dQN8uwykgu4CMdvg48Ug+XSQoapx2su9Y0HCc/JOMfItK5YB78nnRd4+7Tdl6EklqGy7ipqbkyFmOKkWTKxUpg==","signatures":[{"sig":"MEUCIQCSV8tK3SIVYnhDbn+9qXH650Ws5S9lYfYEaGwG32mprAIgTIgtr+KKxg4Ol/KTQJSkMeFjXFhuJyjWguZ9Q7i6Trc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fch-pest-management-mcp@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":455222},"main":"dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=20"},"gitHead":"e94e6782bc63cf3ec2cb996eee70dca25d9fea0d","mcpName":"io.github.ansvar-systems/ch-pest-management-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-pest-management-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Swiss pest management and crop protection via MCP -- Pflanzenschutzmittelverzeichnis, IPM","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-pest-management-mcp_0.1.0_1775385551402_0.8551725563285191","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/ch-pest-management-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-04-05T10:39:11.325Z","modified":"2026-05-02T05:45:57.523Z","0.1.0":"2026-04-05T10:39:11.564Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/ch-pest-management-mcp/issues"},"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu/open-agriculture","keywords":["mcp","agriculture","pest-management","pflanzenschutz","ipm","farming","switzerland"],"repository":{"url":"git+https://github.com/Ansvar-Systems/ch-pest-management-mcp.git","type":"git"},"description":"Swiss pest management and crop protection via MCP -- Pflanzenschutzmittelverzeichnis, IPM","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Switzerland Pest Management MCP\n\nMCP server for Swiss crop protection and pest management data. Covers pests (insects, diseases, weeds), approved plant protection products from the BLW Pflanzenschutzmittelverzeichnis, IPM (Integrierter Pflanzenschutz) guidance with OELN Schadschwellen, and prognosis systems (PhytoPRE, SOPRA, FusaProg, VitiMeteo).\n\nBuilt on data from the Bundesamt fuer Landwirtschaft (BLW), Agroscope, AGRIDEA, and the Aktionsplan Pflanzenschutzmittel.\n\n## Quick Start\n\n### npx (stdio)\n\n```bash\nnpx -y @ansvar/ch-pest-management-mcp\n```\n\n### Docker (Streamable HTTP)\n\n```bash\ndocker run -p 3000:3000 ghcr.io/ansvar-systems/ch-pest-management-mcp:latest\n```\n\n### Public endpoint (Streamable HTTP, no auth)\n\n```\nhttps://mcp.ansvar.eu/ch-pest-management/mcp\n```\n\n## Tools\n\n10 tools covering pest identification, treatment lookup, IPM guidance, approved products, and data provenance.\n\n| Tool | Description |\n|------|-------------|\n| `about` | Server metadata, version, coverage, data sources |\n| `list_sources` | All data sources with authority, URL, license, freshness |\n| `check_data_freshness` | Ingestion date, staleness status, refresh command |\n| `search_pests` | FTS5 search across pests, diseases, weeds (DE/EN) |\n| `get_pest_details` | Full pest profile: lifecycle, identification, treatments |\n| `get_treatments` | Chemical and non-chemical controls for a pest |\n| `get_ipm_guidance` | IPM guidance per crop: Schadschwellen, monitoring, OELN |\n| `search_crop_threats` | All pests/diseases/weeds threatening a crop |\n| `identify_from_symptoms` | Differential diagnosis from symptom descriptions |\n| `get_approved_products` | BLW-approved products: W-number, substances, Auflagen |\n\nFull parameter documentation: [TOOLS.md](TOOLS.md)\n\n## Coverage\n\n- **Jurisdiction:** Switzerland (CH)\n- **Pests:** 23 (9 insects, 8 diseases, 6 weeds)\n- **Treatments:** 30\n- **IPM guidance records:** 12\n- **Approved products:** 14\n- **Prognosis systems:** PhytoPRE, SOPRA, FusaProg, VitiMeteo\n- **Crop categories:** Feldbau, Rebbau, Obstbau, Gemuese\n- **Languages:** German (primary), English search supported\n\nFull coverage breakdown: [COVERAGE.md](COVERAGE.md)\n\n## Data Sources\n\n| Source | Authority | URL |\n|--------|-----------|-----|\n| Pflanzenschutzmittelverzeichnis | BLW | https://www.psm.admin.ch/de/produkte |\n| Pflanzenschutzempfehlungen | Agroscope | https://www.agroscope.admin.ch |\n| OELN-Pflanzenschutz-Checklisten | AGRIDEA | https://www.agridea.ch |\n| Aktionsplan Pflanzenschutzmittel | Bundesrat / BLW | https://www.blw.admin.ch |\n\n## Development\n\n```bash\nnpm install\nnpm run build\nnpm test\nnpm run lint\n```\n\n### Re-ingest data\n\n```bash\nnpm run ingest          # incremental\nnpm run ingest:full     # full rebuild\nnpm run freshness:check # check staleness\n```\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE).\n\nData sourced from Swiss federal authorities under public-sector information principles.\n\n## Links\n\n- [Ansvar MCP Network](https://ansvar.ai/mcp)\n- [TOOLS.md](TOOLS.md) -- full tool documentation\n- [COVERAGE.md](COVERAGE.md) -- dataset coverage\n- [DISCLAIMER.md](DISCLAIMER.md) -- legal disclaimer (DE/EN)\n- [SECURITY.md](SECURITY.md) -- vulnerability reporting\n- [PRIVACY.md](PRIVACY.md) -- privacy statement\n","readmeFilename":"README.md"}