meok-rspca-aquaculture-mcp

v1.0.7
io.github.CSOAI-ORG/meok-rspca-aquaculture-mcp Checked 10 hours ago Published 2 months ago

MCP server wrapping RSPCA Assured farmed trout (2025.07) and salmon (2024.05) welfare standards

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_standards

List all RSPCA Assured clauses for a given farmed species. Args: species: "trout" (rainbow trout, 2025.07 refresh) or "salmon" (Atlantic salmon, 2024.05 refresh). api_key: MEOK API key (optional; gates rate limit). Returns: Standard version, total clauses, section breakdown and full clause list.

ParameterTypeDescription
api_keystring
speciesstring

lookup_clause

Look up a single RSPCA Assured clause by its ID (e.g. T-B1, S-I1). Args: clause_id: Clause ID with species prefix. T- for trout, S- for salmon. api_key: MEOK API key. Returns: Full clause record with section, requirement, evidence list, severity.

ParameterTypeDescription
clause_id *string
api_keystring

gap_analysis

Run RSPCA Assured gap analysis against current farm operating state. Args: species: "trout" or "salmon". farm_data: Dict of farm operating parameters. Recognised keys: stocking_density_kgm3, ph, dissolved_oxygen_mgl, ammonia_mgl, nitrite_mgl, water_temp_c, mortality_pct_day, has_vhp, has_cctv_at_slaughter, has_welfare_officer, watok_cocs, feed_certs, antibiotic_use_mg_pcu, cleaner_fish_plan, sea_lice_count, sea_lice_treatment_type, smolt_deformity_pct. api_key: MEOK API k…

ParameterTypeDescription
farm_data *object
species *string
api_keystring

compliance_score

Return just the headline RSPCA Assured score for dashboard widgets. Args: species: "trout" or "salmon". farm_data: Same shape as gap_analysis input. api_key: MEOK API key. Returns: Score 0-100, banding (gold/silver/bronze/fail), and one-line summary.

ParameterTypeDescription
farm_data *object
species *string
api_keystring

audit_evidence_pack

Generate a markdown audit-ready evidence pack for an RSPCA assessor. The pack mirrors the format RSPCA Assured field assessors expect: farm identity, standard version, assessed parameters, gap list with remediation priority, and signature blocks. Args: species: "trout" or "salmon". farm_data: Same shape as gap_analysis input. farm_name: Display name (e.g. "Templeman Trout Ltd"). farm_id: APB number from CEFAS (optional). api_key: MEOK API key. Returns: Dict with markdown pack and structured metadata.

ParameterTypeDescription
farm_data *object
species *string
api_keystring
farm_idstring
farm_namestring

welfare_attestation

Produce a signed welfare attestation hash for retailer / certifier audit chain. Hooks into meok-attestation-api at https://meok-attestation-api.vercel.app. The hash binds farm identity, species, standard version, score, timestamp. Retailers / certifiers verify against meok.ai/verify. Args: farm_name: Farm display name. farm_id: APB or trading number. species: "trout" or "salmon". score_pct: Compliance score (0-100). assessor: "self", "internal_audit", "rspca_assessor", "third_party". api_key: MEOK API key (Pro+ tier required for…

ParameterTypeDescription
farm_id *string
farm_name *string
score_pct *number
species *string
api_keystring
assessorstring

list_versions

Return current RSPCA Assured standard versions wrapped by this MCP.

ParameterTypeDescription
api_keystring