
unesco-heritage-mcp-server
io.github.cyanheadsv0.1.1Updated Oct 1, 2026
Search UNESCO World Heritage sites, intangible heritage, and Man and the Biosphere reserves.
Installation
In SourceWeft
- Open unesco-heritage-mcp-server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
unesco-heritage-mcp-server
Search UNESCO World Heritage sites, intangible heritage, and Man and the Biosphere reserves via MCP. STDIO or Streamable HTTP.
Overview
Three UNESCO datasets from the UNESCO Data Hub: the World Heritage List, the Intangible Cultural Heritage lists, and the World Network of Biosphere Reserves. Search sites (the List of World Heritage in Danger included), intangible heritage elements, and biosphere reserves; read full records; find sites or reserves near a point; and turn country names into the ISO codes the filters take. Runs as a stdio process or a local Streamable HTTP server, with no API key.
Tools
Resources
Each resource mirrors a get tool, so tool-only clients lose nothing.
Capability reference
unesco_search_sites tool
- Filters:
query,country(ISO 3166-1 alpha-2 or alpha-3),category,region,criteria(every listed criterion required),in_danger,transboundary,inscribed_from/inscribed_to, andnear(latitude,longitude,radius_kmup to 5000, default 100) - Up to 50 sites per page (default 20), continued with
next_cursor;sorttakesrelevance,name,inscribed_newest,inscribed_oldest,area_largest,danger_listed_newest, ordistance in_danger: trueis the List of World Heritage in Danger;totalCountandfacets(category, region, Danger status, criteria, top 10 countries) cover the whole match, and rows carrymatched_inanddistance_kmwhenqueryornearis set
unesco_get_site tool
- One site by
id_no: a number, a digit string, or the site's whc.unesco.org page URL;max_componentslists 0–1000 component parts (default 20) - Description, statement of Outstanding Universal Value,
criteria[]with meanings andsource: "recorded" | "inferred", States Parties with ISO codes, coordinates, area,secondary_years, Danger-list year, names in six languages, and the mainimagewith its credit components_totalis UNESCO's count andcomponents_unparsedthe entries that could not be read; an unknown id fails assite_not_found
unesco_search_intangible_heritage tool
- Filters:
query,country,list(Representative List, Urgent Safeguarding List, Register of Good Safeguarding Practices;RL/USL/Art18accepted),multinational,world_heritage_site(anid_no), andinscribed_from/inscribed_to - Up to 50 elements per page (default 20), continued with
next_cursor; rows omit the description and carry primaryconceptsand linkedworld_heritage_sites facetscover list, multinational status, the top 10 countries, and the top 10 concept terms
unesco_get_intangible_heritage_element tool
- One element by
ich_ref: a number, a digit string, or the element's ich.unesco.org page URL - Description, list, countries, inscription year, primary and secondary
concepts, linkedworld_heritage_sites, UNESCO page, and the mainimagewith its caption and credit; an unknown ref fails aselement_not_found
unesco_search_biosphere_reserves tool
- Filters:
query(name, introduction, and ecological or socio-economic text; there is no biome field, so search habitat words),country,region,regional_network(name or acronym),transboundary,sids,designated_from/designated_to, andnear - Up to 50 reserves per page (default 20), continued with
next_cursor;sorttakesrelevance,name,designated_newest,designated_oldest,area_largest, ordistance - A transboundary reserve appears once per participating country, each with its own
mab_id;facetscover region, regional network, transboundary and SIDS status, and the top 10 countries
unesco_get_biosphere_reserve tool
- One reserve by
mab_id, matched without regard to case or accents - Introduction, ecological and socio-economic characteristics, terrestrial and marine area by zone, population by zone, designation, extension, renaming, and periodic-review years, coordinates, website, and UNESCO page
- Areas (hectares) and populations pass through as recorded: zone sums can differ from totals, and a population of
0can mean none or unreported; an unknown id fails asbiosphere_reserve_not_found
unesco_list_reference tool
topic:criteria,countries,regions,intangible_lists,biosphere_networks, ordatasetsfilterkeeps matching rows; oncountries, a country name, an ISO code, or a common former name returns the codes everycountryinput acceptsdatasetsreports each dataset's record count,data_as_of, license, attribution line, and coverage notes
unesco://site/{id_no} resource
- The
unesco_get_siterecord with up to 20 components (components_totalcarries the full count), plussources, asapplication/json id_nocomes fromunesco_search_sites
unesco://intangible-heritage/{ich_ref} resource
- The
unesco_get_intangible_heritage_elementrecord plussources, asapplication/json ich_refcomes fromunesco_search_intangible_heritage
unesco://biosphere-reserve/{mab_id} resource
- The
unesco_get_biosphere_reserverecord plussources, asapplication/json mab_idcomes fromunesco_search_biosphere_reserves; percent-encode an id that holds non-ASCII letters
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
UNESCO-specific:
- Three UNESCO Data Hub datasets: the World Heritage List (
whc001), the Intangible Heritage List (ich001), and the Man and the Biosphere Programme (mab001) - Each dataset loads on first use as an in-memory snapshot (two upstream requests) and refreshes every 24 hours; searching, facets, and distance run locally, and a failed refresh keeps serving the previous snapshot
- Upstream traffic is paced at two concurrent requests and at most 200 a day, with a cooldown after a 429 that honors
Retry-After - Criterion (vi), which UNESCO's criteria fields omit, is inferred from each site's statement of Outstanding Universal Value and marked as inferred wherever it appears
- Country inputs take ISO 3166-1 alpha-2 or alpha-3 codes in any case and match every transboundary site or multinational element a country takes part in; site and element ids also accept their UNESCO page URLs
Agent-friendly output:
- Attribution on every response:
sourcesnames each dataset with itsdata_as_ofdate, license, and credit line - Search results report the whole match:
totalCount,facets, and anapplied_filtersecho of the filters and sort the server ran - Keyword matching is word-prefix with every word required, and
matched_insays which field tier matched; a zero-hitnoticenames the filter whose removal would match the most records - Typed error contracts (
unknown_country,invalid_year_range,sort_needs_input,cursor_mismatch,*_not_found,snapshot_unavailablewithretryAfter) carry a recovery hint naming the next call
Data and licensing
All three datasets come from the UNESCO Data Hub and are licensed CC BY-SA 4.0. Credit UNESCO when you reuse the data; every response's sources block carries a ready-made credit line. Under ShareAlike, adapted data must be shared under the same license.
Images are not covered by that license. Each World Heritage and intangible heritage image keeps its own copyright, and its holder and photographer travel with the image record. The server returns image links but never fetches or proxies them.
This server is an independent project and is not affiliated with or endorsed by UNESCO.
Getting started
Add the following to your MCP client configuration file.
Or with npx (no Bun required):
Or with Docker:
For Streamable HTTP, set the transport and start the server:
Prerequisites
- Bun v1.4.0 or higher (or Node.js v24+).
- No API key or account: the UNESCO Data Hub is open.
Installation
- Clone the repository:
- Navigate into the directory:
- Install dependencies:
- Configure environment (optional):
Configuration
The server has no settings of its own; these framework variables apply.
See .env.example for the common framework overrides.
Running the server
Local development
-
Build and run the production version:
-
Run checks and tests:
Project structure
Development guide
See CLAUDE.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor logging andctx.enrichfor attribution, totals, and notices - Register new tools and resources in the
createApp()arrays insrc/index.ts - Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
Contributing
Issues are welcome. Run checks and tests before submitting:
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Source: README.md at commit 6ccb6ee
Tools
0Version history
1- v0.1.1LatestOct 1, 2026

