MCP Server

castles

com.thecastlemap/castles
Maps & Location Travel & Hospitality Public & reachable MCP 2026-07-28

What this MCP does

Searches a global atlas of castles, fortresses, palaces, and ruins, including nearby landmarks, rankings, records, and statistics.

castles_near
Find castles near a point
List landmarks within a radius of a WGS84 coordinate, nearest first, each with distance_km. Radius defaults to 100 km (max 2,000). For "castles near <place>", geocode the place yourself, then call this with its latitude/longitude.
Input schema
{'type': 'object', 'required': ['latitude', 'longitude'], 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max results (default 10)'}, 'category': {'enum': ['castle', 'fortress', 'palace', 'ruin'], 'type': 'string'}, 'latitude': {'type': 'number', 'maximum': 90, 'minimum': -90}, 'longitude': {'type': 'number', 'maximum': 180, 'minimum': -180}, 'radius_km': {'type': 'number', 'maximum': 2000, 'minimum': 1, 'description': 'Search radius in km (default 100)'}}}
get_castle
Get one castle in full
Fetch one landmark’s full record by slug (preferred, e.g. "palace-of-versailles") or exact name: coordinates, founding year and century, worldwide fame rank, photo URL with photographer credit and licence, Wikipedia link and its readership signals (Wikidata sitelinks, Wikipedia pageviews over the last 60 days summed across its largest language editions). Unsure of the slug? Call search_castles first.
Input schema
{'type': 'object', 'required': ['castle'], 'properties': {'castle': {'type': 'string', 'description': 'Slug (preferred, e.g. "himeji-castle") or exact name'}}}
get_statistics
Atlas statistics
Headline statistics computed live from the atlas: totals by type, top countries, busiest founding century, oldest landmarks, geographic extremes and the most famous entry. The source for claims like "which country has the most castles" or "when were castles built"; the full write-up lives at thecastlemap.com/statistics/.
Input schema
{'type': 'object', 'properties': {}}
list_countries
Countries with castle counts
Every country in the atlas with its landmark count, most first — answers "which country has the most castles" (France leads). Returns country name and ISO code per row; country pages are browsable from the countries_index URL.
Input schema
{'type': 'object', 'properties': {}}
random_castle
A random castle
One random landmark with its full record, optionally limited to a country — for discovery, quizzes and "castle of the day" features.
Input schema
{'type': 'object', 'properties': {'country': {'type': 'string', 'description': 'Country name or ISO code (optional)'}}}
search_castles
Search castles by name
Search the atlas’s 9,079 castles, fortresses, palaces and ruins by name (accent- and case-insensitive substring match). Optionally filter by country (name or ISO code) and category. Results come best-match-first, then by fame; each has coordinates, founding century, fame rank and links to its atlas page and Wikipedia. If nothing matches, retry with a shorter fragment of the name.
Input schema
{'type': 'object', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max results (default 10)'}, 'query': {'type': 'string', 'description': 'Name or part of a name, e.g. "neuschwanstein" or "himeji"'}, 'country': {'type': 'string', 'description': 'Country name or 2-letter ISO code (optional)'}, 'category': {'enum': ['castle', 'fortress', 'palace', 'ruin'], 'type': 'string', 'description': 'Landmark type (optional)'}}}
top_castles
Most famous castles
The most famous landmarks worldwide or in one country, ordered by Castlemap fame rank — a blend of Wikipedia coverage and readership; rank 1 is the most famous (Great Wall of China). The direct answer to "most famous castles in <country>"; filter by country and/or category.
Input schema
{'type': 'object', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'How many (default 10)'}, 'country': {'type': 'string', 'description': 'Country name or ISO code (optional — omit for worldwide)'}, 'category': {'enum': ['castle', 'fortress', 'palace', 'ruin'], 'type': 'string'}}}
Changed
search_castles
Sept. 29, 2026, 3:03 a.m.
Changed
search_castles
Sept. 25, 2026, 3:03 a.m.
Changed
list_countries
Sept. 23, 2026, 2:54 a.m.
Changed
search_castles
Sept. 23, 2026, 2:54 a.m.
Added
random_castle
Sept. 17, 2026, 12:37 p.m.
Added
get_statistics
Sept. 17, 2026, 12:37 p.m.
Added
list_countries
Sept. 17, 2026, 12:37 p.m.
Added
top_castles
Sept. 17, 2026, 12:37 p.m.
Added
castles_near
Sept. 17, 2026, 12:37 p.m.
Added
get_castle
Sept. 17, 2026, 12:37 p.m.
Added
search_castles
Sept. 17, 2026, 12:37 p.m.