原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Geo Explorer MCP

作者:arnienemeth版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.arnienemeth/geo-explorer-mcp

安装

概览

作者提供的说明(英文原文)

Country facts, administrative boundaries and regional statistics, for interactive geography.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集
  • 你需要填写:RESTCOUNTRIES_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: RESTCOUNTRIES_API_KEY, GEO_EXPLORER_CONTACT

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "geo-explorer": {
      "command": "uvx",
      "args": [
        "geo-explorer-mcp"
      ],
      "env": {
        "RESTCOUNTRIES_API_KEY": "your-value",
        "GEO_EXPLORER_CONTACT": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add geo-explorer --env RESTCOUNTRIES_API_KEY=your-value --env GEO_EXPLORER_CONTACT=your-value -- uvx geo-explorer-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "geo-explorer": {
      "command": "uvx",
      "args": [
        "geo-explorer-mcp"
      ],
      "env": {
        "RESTCOUNTRIES_API_KEY": "your-value",
        "GEO_EXPLORER_CONTACT": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "geo-explorer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "geo-explorer-mcp"
      ],
      "env": {
        "RESTCOUNTRIES_API_KEY": "your-value",
        "GEO_EXPLORER_CONTACT": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • RESTCOUNTRIES_API_KEY 机密 必填 env
    Free API key from https://restcountries.com/sign-up, used for country facts.
  • GEO_EXPLORER_CONTACT env
    A contact URL or email placed in the User-Agent sent to Wikidata. Wikimedia rejects requests without one.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 arnienemeth 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 1144 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1144 个服务器的 42% 更新
  • 基础检查结果等于或优于此分类中其他 1144 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Geo Explorer MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:RESTCOUNTRIES_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于42天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.03天前更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

geo-explorer-mcp

Listed in mcprush: https://mcprush.com/arnienemeth/geo-explorer-mcp

An MCP server that serves country facts, administrative boundaries and regional statistics as structured data, so an AI assistant can build interactive geography instead of reciting it.

The server deliberately returns data, not prose. It hands back populations, polygons and coordinates; the model decides how to present them — as a clickable map, a comparison table, or a lesson in Slovak, German or Hungarian. Nothing in this server knows how to translate, and it does not need to.

Tools

ToolArgumentsReturns
get_country_profilecountryCapitals with coordinates, population, area, region, currencies, languages (English and native names), bordering countries, flag, Wikipedia link
get_map_datacountry, level = ADM0 \ADM1 \ADM2Region names and a browser-fetchable GeoJSON URL, plus source, licence, vintage and data-quality warnings
get_region_detailscountryPer-region population, area, capital city (with its own population and coordinates), native names, subdivision type, Wikidata and Wikipedia links

country accepts a name in almost any language — Slovakia, Slovensko, Magyarország, Magyarorszag (no diacritics), Deutschland, Ungarn.

The two boundary and statistics tools are designed to be joined: get_region_details returns a match_key per region, and a join_hint telling the model how to normalise get_map_data's names to match it.

Quick start

git clone https://github.com/arnienemeth/geo-explorer-mcp

cd geo-explorer-mcp uv sync

Copy .env.example to .env and fill it in:

RESTCOUNTRIES_API_KEY=rc_live_...          # free: https://restcountries.com/sign-up

GEO_EXPLORER_CONTACT=https://github.com/you/your-repo

GEO_EXPLORER_CONTACT goes into the User-Agent sent to Wikidata. Wikimedia requires a contact URL or email and answers anything else with 403.

Once published to PyPI it also installs with no clone at all:

uvx geo-explorer-mcp

Try it in the MCP Inspector:

uv run fastmcp dev inspector server.py
Claude Desktop

Add this to claude_desktop_config.json (on Windows, %APPDATA%\Claude\claude_desktop_config.json), adjusting the paths:

{

"mcpServers": { "geo-explorer": { "command": "C:\\path\\to\\geo-explorer-mcp\\.venv\\Scripts\\python.exe", "args": ["C:\\path\\to\\geo-explorer-mcp\\server.py"] } } }

Pointing at the project's own .venv interpreter means Claude runs exactly what you tested, with no second environment to keep in sync. Restart Claude Desktop fully afterwards — the config is only read at startup.

Then ask it something like:

Show me an interactive map of Slovakia's regions, shaded by population, in German.

Demo page

demo/index.html renders any of four countries from the same two sources the server uses, joined in the browser: shading by population, area or density, capital markers, a sortable table, and per-region links to Wikipedia and Wikidata. One page, parameterised by country — because the server is generic.

It must be served over http, not opened as a file — a file:// page has a null origin and the browser blocks its cross-origin fetches:

cd demo

python -m http.server 8000

RegionsJoined to statistics
Slovakia8 kraje8
Germany16 Bundesländer16
United Kingdom4 countries4
United States56 states and territories55

The single US miss is the Virgin Islands, which has no ISO 3166-2 entry in Wikidata. Regions without a match render grey rather than being dropped.

Layout

server.py                      entry point kept at the root (a shim)

src/geo_explorer_mcp/server.py the implementation demo/index.html the browser demo server.json MCP registry metadata

server.py at the root re-exports the server object, so the Claude Desktop config, fastmcp dev inspector server.py and the probe scripts all keep working while the package underneath stays publishable.

Tests

uv run python probe2.py        # all three tools, plus the boundary/statistics join

uv run python probe_names.py # country-name resolution across languages and spellings

probe2.py runs all four demo countries and asserts two things that previously broke: that geojson_url is the resolved Git LFS media URL, and that at least 90% of boundary regions join to their statistics. Germany sat at 50% before native-name matching landed.

Field notes

Things that cost real debugging time, written down so they don't cost yours.

REST Countries v3.1 is gone. Nearly every tutorial online still uses it. v5 lives at a different host, requires a bearer token, and renamed every field (area → area.kilometers, cca3 → codes.alpha_3, and capitals is now an array of objects, not strings).

geoBoundaries GeoJSON is stored in Git LFS, and only media.githubusercontent.com serves it to a browser:

  • raw.githubusercontent.com/... returns a 131-byte LFS pointer file, not geometry.
  • The github.com/.../raw/... URL the API publishes 302-redirects with an *empty* access-control-allow-origin. Browsers enforce CORS on every hop of a redirect, so a page fetching it fails with TypeError: Failed to fetch even though the final response sends access-control-allow-origin: *.

Either mistake produces a blank map with no error. get_map_data resolves the redirect and returns the URL that actually works.

Verifying with `curl` does not verify browser behaviour. curl -L followed that redirect happily and reported the permissive header on the final response. It ignores CORS entirely. Test cross-origin fetches with an Origin header, or in a browser.

Wikidata's area property mixes units. P2046 values are entered in square kilometres, hectares *or* square metres, and the raw number carries no hint which. Reading it directly gave Békéscsaba an area of 193,930,000 km² — it is 193.9 km², recorded in m². Use the *normalised* value (p:P2046/psn:P2046), which Wikidata converts to SI base units.

ISO 3166-2 mixes administrative levels. Hungary returns 43 subdivisions: 19 counties, Budapest, and 23 cities with county rights. The cities sit *inside* the counties, so their areas and populations must not be summed, and there are far fewer boundary shapes than entries. get_region_details returns subdivision_types and warns via data_quality_notes.

Country-name matching folds case but not diacritics. Magyarország resolves; Magyarorszag does not. Translations (Ungarn, Hongrie) are excluded from the name aggregate on purpose. The server works around both with a three-step fallback: the name aggregate, then the translations endpoint, then a locally built diacritic-folded index.

A Wikidata query that works for a small country can time out for a large one. Resolving subdivisions via ?i wdt:P17 ?country makes Wikidata scan everything in that country: fine for Slovakia, HTTP 504 for the United States. Filtering on the ISO 3166-2 prefix instead — FILTER(STRSTARTS(?iso, "US-")) — returns the same 56 rows in 0.9 seconds, because those codes are *defined* as - , so the prefix already is the country filter.

The same region has different names in each source. geoBoundaries says Bayern, Sachsen, Thüringen; Wikidata's English labels are Bavaria, Saxony, Thuringia. Matching on the English label alone joined 8 of Germany's 16 states. Building a key from *every* name variant, native names included, joins all 16 — which is why get_region_details returns match_keys (plural).

A bounding box lies about shapes that cross the antimeridian. Alaska's Aleutian Islands run past 180°, so its box reads -179.15 .. 179.78 — a 359-degree span. fitBounds on that zooms out to the whole globe and shrinks the mainland to a smudge, with no error. Russia, Fiji and New Zealand share the trap. The demo refuses any box wider than 180° and falls back to a fixed view.

The `hidden` attribute loses to any author `display` rule. It works through the browser's default stylesheet, the weakest source there is, so an element styled display:grid stays visible when you set hidden. Symptom: a loading overlay that never goes away, covering a map that loaded perfectly. Guard it with [hidden]{display:none !important}.

Some upstream region names are damaged. geoBoundaries' ADM2 names for Slovakia are truncated and mistransliterated (Prešov → Predov, Dolný Kubín → Dolne Kub). The *geometry* is fine. get_map_data detects this and returns a data_quality_note so a model does not present corrupted names as fact.

No `#` comments inside a SPARQL query that gets collapsed to one line. In SPARQL # comments out the rest of the *line*; after collapsing, that is the entire query. Symptom: HTTP 400.

Data sources

SourceUsed forLicence
REST Countries v5Country factsFree tier, API key required
geoBoundariesAdministrative boundariesCC BY 4.0 / ODbL, varies per country — the tool returns the actual licence per request
WikidataRegional statistics, capitals, linksCC0 1.0

Boundary licences differ by country because geoBoundaries aggregates national sources. Slovakia's are OpenStreetMap-derived and therefore ODbL, which has share-alike obligations that CC BY does not. get_map_data returns the licence that applies to the data it just gave you; use that, not a hardcoded string.

Roadmap

  • Publish to PyPI so the server installs with uvx geo-explorer-mcp
  • Repair corrupted ADM2 names by joining to Wikidata
  • compare_countries for side-by-side statistics
  • Cache boundary metadata to disk rather than in memory

Licence

MIT — see LICENSE. The data this server returns carries its own licences; see the table above.

问 PopNx