{"_id":"@ansvar/de-organic-regen-mcp","_rev":"2-d0cb44b0a63661a9a128d4b7aa4c10b3","name":"@ansvar/de-organic-regen-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ansvar/de-organic-regen-mcp","version":"0.1.0","keywords":["mcp","organic","regenerative","soil-health","cover-crops","biodiversity","farming"],"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/de-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/de-organic-regen-mcp/issues"},"bin":{"de-organic-regen-mcp":"dist/server.js"},"dist":{"shasum":"0b48c8a1b55853dd9618c7111e53eee3d65f4247","tarball":"https://registry.npmjs.org/@ansvar/de-organic-regen-mcp/-/de-organic-regen-mcp-0.1.0.tgz","fileCount":116,"integrity":"sha512-HcGBmwYc3mNQql0PYA5TppqqMmbSwbnTQeSPMEqsjRFKvMrDa9MH7qtpmHFm0QoeoeThhrHWOo2aB1PlJyR4cg==","signatures":[{"sig":"MEUCICyNHpCy+Mw3uCKOfln91jDcIBLVg4H1smFlzpwYT9uXAiEAqGfWh7vbppa+618bCLjNXGkQkB1vZIX7Y2RQqiW3xww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203526},"main":"dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=20"},"gitHead":"c9b187c9ae34af8808d3055a6dabc69e49d9f013","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: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/de-organic-regen-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"UK organic and regenerative farming via MCP — certification, conversion, permitted inputs, cover crops, soil health, BNG","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/de-organic-regen-mcp_0.1.0_1775321103948_0.015654012555210706","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/de-organic-regen-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-04-04T16:45:03.836Z","modified":"2026-05-02T05:46:33.967Z","0.1.0":"2026-04-04T16:45:04.103Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/de-organic-regen-mcp/issues"},"author":{"name":"Ansvar Systems","email":"info@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu/open-agriculture","keywords":["mcp","organic","regenerative","soil-health","cover-crops","biodiversity","farming"],"repository":{"url":"git+https://github.com/Ansvar-Systems/de-organic-regen-mcp.git","type":"git"},"description":"UK organic and regenerative farming via MCP — certification, conversion, permitted inputs, cover crops, soil health, BNG","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# UK Organic & Regenerative MCP\n\n[![CI](https://github.com/Ansvar-Systems/de-organic-regen-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/de-organic-regen-mcp/actions/workflows/ci.yml)\n[![GHCR](https://github.com/Ansvar-Systems/de-organic-regen-mcp/actions/workflows/ghcr-build.yml/badge.svg)](https://github.com/Ansvar-Systems/de-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\nUK organic farming standards and regenerative agriculture practices via the [Model Context Protocol](https://modelcontextprotocol.io). Organic certification, conversion process, permitted inputs, cover crop guidance, biodiversity net gain, and soil health indicators -- all from your AI assistant.\n\nPart of [Ansvar Open Agriculture](https://ansvar.eu/open-agriculture).\n\n## Why This Exists\n\nFarmers converting to organic need quick access to certification requirements (Soil Association, OF&G), permitted input lists, conversion timelines, cover crop data, and soil health targets. This information is scattered across regulation text, certification body PDFs, and research publications. This MCP server puts it all in one place, searchable by AI assistants.\n\n## Quick Start\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"uk-organic-regen\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/de-organic-regen-mcp\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\n```bash\nclaude mcp add uk-organic-regen npx @ansvar/de-organic-regen-mcp\n```\n\n### Streamable HTTP (remote)\n\n```\nhttps://mcp.ansvar.eu/de-organic-regen/mcp\n```\n\n### Docker (self-hosted)\n\n```bash\ndocker run -p 3000:3000 ghcr.io/ansvar-systems/de-organic-regen-mcp:latest\n```\n\n### npm (stdio)\n\n```bash\nnpx @ansvar/de-organic-regen-mcp\n```\n\n## Example Queries\n\nAsk your AI assistant:\n\n- \"What are the Soil Association standards for organic arable farming?\"\n- \"How long does organic conversion take for cattle?\"\n- \"What cover crops fix the most nitrogen before spring cereals?\"\n- \"What's the BNG unit value of creating a wildflower meadow?\"\n- \"What inputs are permitted for organic plant protection?\"\n- \"What soil health indicators should I measure and what are the targets?\"\n- \"What is the copper limit for organic farming?\"\n\n## Stats\n\n| Metric | Value |\n|--------|-------|\n| Tools | 10 (3 meta + 7 domain) |\n| Jurisdiction | GB |\n| Data sources | EU Reg 2018/848, Soil Association, OF&G, DEFRA BNG, AHDB |\n| License (data) | Open Government Licence v3 / Published standards |\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_guidance` | FTS5 search across all organic and regen data |\n| `get_organic_standards` | Certification requirements by product type and body |\n| `get_conversion_process` | Conversion timeline, marketing options, support |\n| `get_permitted_inputs` | Permitted substances with conditions and limits |\n| `get_cover_crop_guidance` | Cover crop species with N fixation, biomass, sowing windows |\n| `get_biodiversity_guidance` | BNG units, creation costs, management obligations |\n| `get_soil_health_guidance` | Indicator targets, measurement methods, improvement timelines |\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 or certification advice. 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 from government sources used under Open Government Licence v3. Certification body standards are publicly published reference material.\n","readmeFilename":"README.md"}