wdpa-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wdpa-mcp is 48.8584, 2.2945 inside or near a protected area?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wdpa-mcp
A dedicated conservation zoning and protected areas Model Context Protocol (MCP) server for the World Database on Protected Areas (WDPA) and Protected Planet API v3.
Provides critical spatial conservation context to biodiversity observations (iNaturalist, eBird, GBIF), checking if wildlife sightings fall inside or adjacent to national parks, wilderness reserves, UNESCO biosphere reserves, or marine protected areas.
Key Features
International Designation Filtering: Query reserves classified under global conventions, including Ramsar Wetlands of International Importance, UNESCO World Heritage Sites, and Biosphere Reserves.
Reserve Proximity Evaluation: Query coordinates (
lat,lon,radius_km) to determine if a species observation is inside or near a protected conservation reserve.IUCN Management Categories: Identify strict nature reserves (Ia), wilderness areas (Ib), national parks (II), natural monuments (III), habitat management areas (IV), protected landscapes (V), and sustainable resource management reserves (VI).
National Coverage & 30x30 Metrics: Retrieve terrestrial and marine protected surface area percentages by ISO-3 country to track progress toward Kunming-Montreal Global Biodiversity Framework targets.
Resilient Fallback Engine: Built-in curated conservation registry ensures proximity queries and searches work reliably even without an external API token or during upstream downtime.
Related MCP server: earth-search
Available Tools
Tool | Description |
| Assess whether GPS coordinates fall within or near a protected conservation area. |
| Search protected conservation areas by name, designation, or ISO country. |
| Filter protected zones by Ramsar, World Heritage, IUCN category, or marine status. |
| Retrieve complete governance, IUCN management category, and area for a WDPA site. |
| Retrieve national protected area coverage percentages and 30x30 statistics. |
| List and paginate designated national parks and reserves in a country by ISO-3 code. |
| Retrieve bounding coordinates, centroid, and area envelope for GIS mapping. |
Installation & Usage
Running with uvx (Recommended)
uvx --from git+https://github.com/thesven/wdpa-mcp.git wdpa-mcpConfiguration (Optional)
If you have a Protected Planet API v3 token, you can provide it via environment variable:
PROTECTED_PLANET_API_KEY=your_token_here
# or
WDPA_API_KEY=your_token_hereClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"wdpa": {
"command": "uvx",
"args": ["--from", "git+https://github.com/thesven/wdpa-mcp.git", "wdpa-mcp"],
"env": {
"PROTECTED_PLANET_API_KEY": "optional_token_here"
}
}
}
}Development & Quality Gate
# Run code formatting check
uv run ruff format --check src tests scripts
# Run linting
uv run ruff check src tests scripts
# Run test suite with strict coverage floor (>90%)
uv run pytest --cov=wdpa_mcp --cov-branch --cov-report=term-missing
# Build wheel and sdist
uv build
# Run package distribution check & smoke test
uv run python scripts/check_dist.py
uv run python scripts/smoke.pyLicense
MIT License. See LICENSE for details.
Available Tools
7 toolscheck_protected_area_nearbyC
Assess whether GPS coordinates fall within or near a protected conservation area.
Inputs: lat (required), lon (required), radius_km. Returns: object
filter_protected_areas_by_designationC
Filter protected conservation zones by Ramsar, World Heritage, IUCN, or marine.
Inputs: limit, marine_only, country_code, iucn_category, +1 more. Returns: object
get_country_protection_coverageC
Retrieve national protected area coverage percentages and 30x30 statistics.
Inputs: country_iso3 (required). Returns: object
get_protected_area_boundary_envelopeB
Retrieve bounding coordinates, centroid, and area envelope for GIS mapping.
Inputs: wdpa_id (required). Returns: object
get_protected_area_detailsB
Retrieve complete governance, IUCN management category, and area for a WDPA site.
Inputs: wdpa_id (required). Returns: object
list_country_protected_areasB
List and paginate designated national parks and reserves in a country by ISO-3 code.
Inputs: country_iso3 (required), page, per_page. Returns: object
search_protected_areasC
Search protected conservation areas by name, designation, or ISO country.
Inputs: query (required), limit, country_code. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
search_protected_areas already accepts designation and country as parameters, so filter_protected_areas_by_designation and list_country_protected_areas read largely as parameterized subsets of the same query. check_protected_area_nearby, get_protected_area_details, and get_protected_area_boundary_envelope are clearly distinct (point-in-polygon, attributes, geometry), so the overlap is confined to the three query tools.
All seven names are snake_case with a leading verb (check_, search_, get_, filter_, list_), which is a predictable pattern. Minor deviations: check_protected_area_nearby uses a trailing modifier while others use pure verb_noun, and names are noticeably long, but nothing is ambiguous stylistically.
Seven tools is well within the ideal range and each maps to a recognizable GIS/conservation query pattern (point lookup, keyword search, record detail, aggregate stats, thematic filter, country listing, geometry envelope). No tool feels like filler for a read-only reference dataset of this scope.
The surface covers the core lifecycle for a reference dataset: find (search/filter/list), inspect (details), geospatial (boundary envelope), proximity (nearby), and aggregate reporting (country coverage/30x30). Gaps are minor — no direct lookup by WDPA site ID, no bulk/multi-site comparison, and no way to query designations or IUCN categories as a vocabulary.
Maintenance
Related MCP Connectors
Mozambican DUAT land-use rights, community land delimitations and SIDICA parcels by point or name.
Ocean data for any coast or sea, Australian marine park facts and Marxan reserve design.
PNG mining tenements, logging concessions, RSPO palm oil and census villages by point, code or name.
Administrative boundaries for every place on Earth: search, reverse lookup, polygons, areas.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables querying Belgian biodiversity data, including species observations, protected species lists, and protected areas, for environmental assessments and permits.131European Union Public 1.2
- AlicenseNot gradedqualityCmaintenanceEnables querying Sentinel-1/2, Landsat Collection 2, NAIP, and Copernicus DEM imagery by area and date, returning item IDs, footprints, cloud cover, and cloud-optimized GeoTIFF URLs.60 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Global Fishing Watch AIS data to search vessels by identity, retrieve at-sea events such as apparent fishing, encounters, loitering, port visits and AIS gaps, and generate aggregated apparent fishing effort reports by area, flag and gear type.114 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables browsing Global Forest Watch's catalogue and running read-only SQL queries against dataset versions, covering tree cover loss, deforestation alerts, fire alerts, carbon flux, and more.76 npmMIT