Koskamo

Castlemap MCP

Castlemap provides a remote Model Context Protocol server that allows AI agents to query a curated dataset of 9,079 castles, fortresses, palaces, and ruins worldwide. The server offers read-only access to search for landmarks, retrieve details, find nearby castles, access fame rankings, and view statistics, all sourced from Wikidata and verified with exact coordinates and media.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Castlemap MCP logo, by CastlemapVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Castlemap
MCP endpoint (Streamable HTTP)
https://thecastlemap.com/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

7 of 7 have a description · 0 of 7 declare behavior hints · 3 of 5 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to thecastlemap.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 1 GitHub star

What you can do with it

  • Search for specific castles by name or location
  • Retrieve detailed information about a single landmark
  • Find castles near a specific geographic point
  • Access global castle fame rankings and statistics

Source and maintenance

Vendor evidenceRegistry 1.0.3MIT
Last repository push
Maintenance checked

Protocol and capabilities

Server
castlemap 1.1.0
MCP protocol negotiated in check
2025-06-18
Tools
7 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Read-only tools over the Castlemap atlas: 9,902 curated castles, fortresses, palaces and ruins across 164 countries (facts from Wikidata, CC0). Every result links its page on https://thecastlemap.com. Use search_castles / get_castle for lookups, castles_near for geography (geocode the place first), top_castles for fame, get_statistics for aggregate claims (counts by country/century, oldest, extremes), list_countries for coverage and random_castle for discovery.

Tools

7 advertised

search_castles — Search castles by name
Advertised by the server during the last successful anonymous check.

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

search_castles 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)"
    }
  }
}
get_castle — Get one castle in full
Advertised by the server during the last successful anonymous check.

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_castle input schema
{
  "type": "object",
  "required": [
    "castle"
  ],
  "properties": {
    "castle": {
      "type": "string",
      "description": "Slug (preferred, e.g. \"himeji-castle\") or exact name"
    }
  }
}
castles_near — Find castles near a point
Advertised by the server during the last successful anonymous check.

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.

castles_near 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)"
    }
  }
}
top_castles — Most famous castles
Advertised by the server during the last successful anonymous check.

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.

top_castles 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"
    }
  }
}
list_countries — Countries with castle counts
Advertised by the server during the last successful anonymous check.

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.

list_countries input schema
{
  "type": "object",
  "properties": {}
}
get_statistics — Atlas statistics
Advertised by the server during the last successful anonymous check.

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

get_statistics input schema
{
  "type": "object",
  "properties": {}
}
random_castle — A random castle
Advertised by the server during the last successful anonymous check.

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

random_castle input schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "Country name or ISO code (optional)"
    }
  }
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (71 of 71 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
2354 ms
95th percentile latency
3202 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 3296 ms · 7 tool(s)
  • · probe · passed · 1412 ms · metadata changed · 7 tool(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http castlemap-mcp https://thecastlemap.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add castlemap-mcp --url https://thecastlemap.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable castlemap-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "castlemap-mcp": {
      "url": "https://thecastlemap.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "castlemap-mcp": {
      "type": "streamableHttp",
      "url": "https://thecastlemap.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start castlemap-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "castlemap-mcp": {
      "type": "http",
      "url": "https://thecastlemap.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http castlemap-mcp https://thecastlemap.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://thecastlemap.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "castlemap-mcp": {
      "serverUrl": "https://thecastlemap.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Castlemap MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Castlemap MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing