castles
Castles, fortresses, palaces and ruins worldwide: search, nearby, fame ranking, statistics. CC0.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"castles": {
"url": "https://thecastlemap.com/mcp"
}
}
}远程端点
https://thecastlemap.com/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢search_castles(query, country, category, limit)
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.
输入模式
{
"type": "object",
"properties": {
"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": {
"type": "string",
"enum": [
"castle",
"fortress",
"palace",
"ruin"
],
"description": "Landmark type (optional)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Max results (default 10)"
}
},
"required": [
"query"
]
}🟢get_castle(castle)
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.
输入模式
{
"type": "object",
"properties": {
"castle": {
"type": "string",
"description": "Slug (preferred, e.g. \"himeji-castle\") or exact name"
}
},
"required": [
"castle"
]
}🟢castles_near(latitude, longitude, radius_km, category, limit)
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.
输入模式
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radius_km": {
"type": "number",
"minimum": 1,
"maximum": 2000,
"description": "Search radius in km (default 100)"
},
"category": {
"type": "string",
"enum": [
"castle",
"fortress",
"palace",
"ruin"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Max results (default 10)"
}
},
"required": [
"latitude",
"longitude"
]
}⚪top_castles(country, category, limit)
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.
输入模式
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "Country name or ISO code (optional — omit for worldwide)"
},
"category": {
"type": "string",
"enum": [
"castle",
"fortress",
"palace",
"ruin"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many (default 10)"
}
}
}🟢list_countries
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.
输入模式
{
"type": "object",
"properties": {}
}🟡get_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/.
输入模式
{
"type": "object",
"properties": {}
}⚪random_castle(country)
One random landmark with its full record, optionally limited to a country — for discovery, quizzes and "castle of the day" features.
输入模式
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "Country name or ISO code (optional)"
}
}
}社区
证据