Castles MCP server
{
"mcpServers": {
"castles": {
"type": "http",
"url": "https://thecastlemap.com/mcp"
}
}
}{
"mcpServers": {
"castles": {
"type": "http",
"url": "https://thecastlemap.com/mcp"
}
}
}{
"mcpServers": {
"castles": {
"type": "http",
"url": "https://thecastlemap.com/mcp"
}
}
}{
"servers": {
"castles": {
"type": "http",
"url": "https://thecastlemap.com/mcp"
}
}
}{
"mcpServers": {
"castles": {
"type": "http",
"url": "https://thecastlemap.com/mcp"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 1.0.3
What it does
A server for searching and retrieving information about 7,786 castles, fortresses, palaces and ruins across 141 countries. It provides location data, founding dates, fame rankings, and Wikipedia summaries sourced from Wikidata. Use it to explore castle data, find structures by location or name, or access statistics about castles worldwide.
- Search for castles by name, country, or category to get details like coordinates, founding dates, and fame rankings.
- Find castles near a specific geographic location using haversine distance calculation.
- Retrieve statistics and aggregates about castles per country, per century, or globally.
Tools this server exposes
| Tool | Does |
|---|---|
| search_castles | Find castles by name, country or category. |
| get_castle | Retrieve the full record for a single castle. |
| castles_near | Find the nearest castles to a given coordinate using haversine distance. |
| top_castles | List the best-known castles ranked by fame. |
| list_countries | Get the list of 141 countries with castle counts. |
| get_statistics | Retrieve aggregated statistics on castles including totals, per-country and per-century breakdowns. |
| random_castle | Return a castle selected at random from the atlas. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.