MCP.Market

Castles MCP server

online · 100% uptime
by thecastlemap.com·com.thecastlemap/castles·v1.0.3·1 stars

Castles, fortresses, palaces and ruins worldwide: search, nearby, fame ranking, statistics. CC0.

A87/100grade A
What users say
No reviews yet
Be the first
Safety scan
A87/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed Castles yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Castles tools (7)

write = sends, deletes, buys or posts
  • castles_nearFree

    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.

  • get_castleFree

    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.

  • get_statisticsFree

    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/.

  • list_countriesFree

    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.

  • random_castleFree

    One random landmark with its full record, optionally limited to a country — for discovery, quizzes and "castle of the day" features.

  • search_castlesFree

    Search the atlas’s 9,040 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.

  • top_castlesFree

    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.

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

no findings
  • –Code scanremote-only server, no package to scann/a
  • Live reliabilityremote reachable in 1772ms20/20
  • Tool poisoning7 tool descriptions checked15/15
  • Auth qualityopen endpoint, read-only tools10/15
  • Maintenancelast push 60 days ago12/15
  • Maintainer identityendpoint served from the registry-verified namespace domain8/10
Overall 87/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Castles compares

Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
87/100
higher than 78% of 3,471 Web search servers
Tools
7
the typical Web search server has 5
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Uptime
100%
of our recent checks; the typical remote Web search server answers 100%
Response time
136 ms
faster than 80% of 2,238 Web search servers
GitHub stars
1
more than 55% of 1,788 Web search servers

What its tools let an agent do: 7 read

Install Castles in Claude Code, Cursor or VS Code

claude mcp add --transport http castles https://thecastlemap.com/mcp
Add to Cursor

What the publisher says

From the Castles repository's README, as published. We do not edit it. Read it on GitHub

Castlemap MCP server

A Model Context Protocol server for the Castlemap atlas: 7,786 castles, fortresses, palaces and ruins across 141 countries, with coordinates, founding dates, categories, fame ranking and Wikipedia summaries.

It is already running. Point a client at the hosted endpoint — there is no install, no signup and no API key:

https://thecastlemap.com/mcp

Streamable HTTP, stateless, POST-only (a GET returning 405 is correct). Protocol revisions 2025-06-18 and 2025-03-26 are accepted.

Client configuration

{
  "mcpServers": {
    "castles": {
      "type": "http",
      "url": "https://thecastlemap.com/mcp"
    }
  }
}

Registry entry: com.thecastlemap/castles.

Tools

Data

Derived from Wikidata, with summaries from Wikipedia and images from Wikimedia Commons. The atlas is curated rather than exhaustive: it covers castles with a documented history, a real photo and exact coordinates, not every earthwork and ruin.

The factual records are released as CC0 and downloadable as GeoJSON and CSV from thecastlemap.com/data — also mirrored on GitHub, Hugging Face, Kaggle and Zenodo (concept DOI 10.5281/zenodo.21322359, which always resolves to the newest version).

Running it yourself

server.mjs has zero dependencies — no SDK, no node_modules. It needs Node 18+ and a castles.geojson to read (download one from /data):

CASTLES_GEOJSON=/path/to/castles.geojson PORT=8891 node server.mjs

It binds 127.0.0.1:8891 by default; HOST, PORT and CASTLES_GEOJSON override that. The file is re-read when its mtime changes (throttled to 60s), so updating the data needs no restart.

castlemap-mcp.service is the systemd unit used in production — loopback-bound, DynamicUser, ProtectSystem=strict, with nginx terminating TLS in front. Set ExecStart to your own node path and ReadOnlyPaths/CASTLES_GEOJSON to wherever the data lives.

Provenance

Built by flightmussy with AI assistance: the concept, direction and review are mine; much of the implementation was written with Claude. The underlying data is not generated — it comes from Wikidata, and every record is traceable to its Wikidata item.

License

Code: MIT (see LICENSE). Data: CC0. Wikipedia summary text remains CC BY-SA and is attributed per record.

Nothing above is checked by us. What we check is on the safety report.

Castles: common questions

Is Castles MCP server safe?
Yes, by our scan: it is graded A (87/100). Read the Castles safety report
How do I install Castles?
It runs remotely at thecastlemap.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does Castles need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Castles maintained?
The last commit was 67 days ago (2026-08-30). The latest release is v1.0.3.
Is Castles up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
What can I use instead of Castles?
Servers from other publishers that do the same job: Legal Data Hunter MCP server.
How does Castles compare with other Web search MCP servers?
safety score 87/100 (higher than 78% of 3,471 Web search servers); tools 7 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Castles

Same job from other publishers: the closest match first, then the best rated.

  • Legal Data Hunter
    Search 18M+ legal documents worldwide — case law, legislation, and doctrine across 110+ countries.
    A