@ansvar/se-pest-management-mcp
v0.1.0
Published
Swedish pest, disease, and weed management via MCP -- identification, treatment, IPM guidance, symptom diagnosis
Maintainers
Readme
Sweden Pest Management MCP
Swedish pest, disease, and weed management via the Model Context Protocol. Identify crop threats, get treatment options, IPM (integrerat vaxtskydd) guidance, and run symptom-based differential diagnosis -- all from your AI assistant.
Part of Ansvar Open Agriculture.
Why This Exists
Swedish farmers and agronomists need quick access to pest identification, treatment options, and IPM thresholds. This information is published by Kemikalieinspektionen (KemI), Jordbruksverket, and SLU but is scattered across registers, PDFs, and research publications. This MCP server brings it all together in a searchable, structured format.
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"pest-management": {
"command": "npx",
"args": ["-y", "@ansvar/se-pest-management-mcp"]
}
}
}Claude Code
claude mcp add se-pest-management npx @ansvar/se-pest-management-mcpStreamable HTTP (remote)
https://mcp.ansvar.eu/se-pest-management/mcpDocker (self-hosted)
docker run -p 3000:3000 ghcr.io/ansvar-systems/se-pest-management-mcp:latestnpm (stdio)
npx @ansvar/se-pest-management-mcpExample Queries
Ask your AI assistant:
- "Vilka sjukdomar angriper hostvete?" (What diseases affect winter wheat?)
- "Jag ser gula flackar pa mina veteblad -- vad kan det vara?" (Yellow patches on wheat leaves)
- "Vilka bekampningsmedel ar godkanda mot rapsbagge?" (Approved products for pollen beetle)
- "Visa IPM-vagledning for svartpricksjuka i hostvete" (IPM guidance for septoria)
- "Vilka produkter innehaller prothioconazole?" (Products containing prothioconazole)
- "Vilka skadegorare angriper korn?" (What pests attack barley?)
Stats
| Metric | Value | |--------|-------| | Tools | 10 (3 meta + 7 domain) | | Jurisdiction | SE | | Data sources | Kemikalieinspektionen (KemI), Jordbruksverket, SLU | | License (data) | Swedish Open Data Licence / CC Attribution | | License (code) | Apache-2.0 | | Transport | stdio + Streamable HTTP |
Tools
| Tool | Description |
|------|-------------|
| about | Server metadata and links |
| list_sources | Data sources with freshness info |
| check_data_freshness | Staleness status and refresh command |
| search_pests | FTS5 search across pest, disease, and weed data |
| get_pest_details | Full pest profile with symptoms and identification |
| get_treatments | Chemical, cultural, and biological treatment options |
| get_ipm_guidance | IPM thresholds, monitoring, and decision guides |
| search_crop_threats | All threats affecting a specific crop |
| identify_from_symptoms | Symptom-based differential diagnosis with confidence scoring |
| get_approved_products | KemI-approved pesticide products for Sweden |
See TOOLS.md for full parameter documentation.
Security Scanning
This repository runs 6 security checks on every push:
- CodeQL -- static analysis for JavaScript/TypeScript
- Gitleaks -- secret detection across full history
- Dependency review -- via Dependabot
- Container scanning -- via GHCR build pipeline
See SECURITY.md for reporting policy.
Disclaimer
Pesticide data is for reference only. Always check the current Kemikalieinspektionen (KemI) register before applying any product. This tool is not professional pest management advice. See DISCLAIMER.md.
Contributing
Issues and pull requests welcome. For security vulnerabilities, email [email protected] (do not open a public issue).
License
Apache-2.0. Data sourced from Kemikalieinspektionen, Jordbruksverket, and SLU under Swedish Open Data Licence and Creative Commons Attribution.
