world-reference-mcp
# world-reference-mcp
World-reference data — organism taxonomy, OBO reference terms, food/nutrition
composition, organism and weather observations, and Wikidata alignment — as an
MCP tool surface and, through `scion-sdk`'s declarative `mcp_tool`
source adapter, as bounded, checkpointed ingestion streams onto the
medulla `world_model` ontology (`feat/world-model-ontology`).
## Sources
| Ledger row | Sources | Target class |
|---|---|---|
| EH-358 (taxonomy) | NCBI Taxonomy (E-utilities), GBIF backbone | `Taxon` |
| EH-359 (reference terms) | EBI OLS4 (GO, UBERON, ENVO, PATO, ChEBI, FoodOn) | `BiologicalProcessTerm`, `AnatomyTerm`, `EnvironmentTerm`, `QualityTerm`, `ChemicalEntityTerm`, `FoodTerm` |
| EH-360 (nutrition) | USDA FoodData Central | `FoodCompositionRecord` |
| EH-361 (observations) | GBIF occurrences, iNaturalist, Open-Meteo, NOAA GHCND | `OrganismObservation`, `WeatherObservation` |
| EH-362 (alignment) | Wikidata SPARQL | `wikidataId` / `skos:exactMatch` keys for `Taxon`, `ChemicalEntityTerm`, `Country` |
## Tools
Nine MCP tools, one FastMCP server (`world-reference-mcp` console script):
`taxonomy_ncbi_search`, `taxonomy_gbif_search`, `reference_term_list`,
`fdc_food_search`, `gbif_occurrence_search`, `inaturalist_observation_search`,
`open_meteo_weather_observation`, `noaa_ghcnd_daily`, `wikidata_alignment_search`.
Every tool is keyless except `fdc_food_search` and `noaa_ghcnd_daily`, whose
credentials are resolved server-side through `scion_sdk.credentials`
(`WORLD_REFERENCE_FDC_API_KEY`, `WORLD_REFERENCE_NOAA_TOKEN`) — never accepted
as a tool argument.
See [`AGENTS.md`](AGENTS.md) for architecture, the ontology-mapping
authority, rate limits, and commands.
TDQS
Scored across 9 tools
Each tool targets a distinct external source and record type: NCBI taxonomy, GBIF backbone, GBIF occurrences, ontology terms, food composition, iNaturalist observations, weather, station observations, and Wikidata alignment. The only real pair that could be confused is taxonomy_ncbi_search vs taxonomy_gbif_search, but the descriptions name their backbones explicitly. Weather-related tools (open_meteo_weather_observation vs noaa_ghcnd_daily) are also distinguishable by source and granularity.
Most tools follow a domain_entity_action shape (taxonomy_ncbi_search, gbif_occurrence_search, fdc_food_search), but the ordering of tokens varies (taxonomy_ncbi_* vs gbif_occurrence_*), and two tools drop the verb entirely (open_meteo_weather_observation, noaa_ghcnd_daily) while one uses _list instead of _search. The pattern is readable but not uniform.
Nine tools is well within a reasonable range for a multi-source reference aggregator, and each maps to a distinct data source rather than being redundant. Slightly over-provisioned on biological occurrence sources (GBIF, iNaturalist) but still coherent.
The surface covers search across all the advertised sources with pagination/cursor support, which is the core of a reference-lookup server. Minor gaps: no fetch-by-identifier for taxa or ontology terms beyond search/paging, and wikidata_alignment_search references a chemical_entity type without a dedicated chemical compound search. These are workaroundable rather than dead ends.