Skip to main content
Glama
930m310n

geomelon-mcp

by 930m310n

geomelon-mcp

Geomelon地理API用のMCPサーバー。都市、国、地域、言語を、MCP互換のAIクライアントが呼び出せるツールとして公開します。

2つのトランスポートが含まれています:

バイナリ

トランスポート

ユースケース

geomelon-mcp

stdio

ローカルクライアント — Claude Desktop, Cursor, Cline, Continue

geomelon-mcp-http

HTTP (ストリーミング可能)

リモート / ホスト型サーバー

要件

  • Node.js 18以上

  • Geomelon APIをサブスクライブしたRapidAPIキー

Related MCP server: bamwor-mcp-server

セットアップ

.env.example を .env にコピーし、キーを入力してください:

cp .env.example .env
GEOMELON_API_KEY=your_rapidapi_key_here
PORT=3000   # HTTP transport only

ローカルでの使用 (stdio)

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json に以下を追加します:

{
  "mcpServers": {
    "geomelon": {
      "command": "npx",
      "args": ["-y", "geomelon-mcp"],
      "env": {
        "GEOMELON_API_KEY": "your_rapidapi_key_here"
      }
    }
  }
}

Cursor / Windsurf / Cline

エディタのMCP設定に追加します(正確なパスはエディタによって異なります):

{
  "geomelon": {
    "command": "npx",
    "args": ["-y", "geomelon-mcp"],
    "env": {
      "GEOMELON_API_KEY": "your_rapidapi_key_here"
    }
  }
}

リモートでの使用 (HTTP)

サーバーを起動します:

GEOMELON_API_KEY=your_key PORT=3000 npx geomelon-mcp-http

次に、MCPクライアントを http://your-host:3000/mcp に向けます。

HTTPトランスポートはステートレスです。各リクエストは独立しており、管理するセッションはありません。

利用可能なツール

都市

ツール

説明

search_cities

名前、国コード、地域、人口範囲、並び順で検索

get_city

UUIDによる都市の詳細情報

cities_by_coordinates_closest

緯度/経度に近い都市を距離順に取得

cities_by_coordinates_largest

緯度/経度に近い都市を人口順に取得

cities_distance

2都市間の距離(km)

国

ツール

説明

list_countries

すべての国を一覧表示、電話番号の国番号でフィルタリング

get_country

UUIDによる国の詳細情報(翻訳や地域を含む)

地域

ツール

説明

list_regions

地域を一覧表示、国のUUIDでフィルタリング

get_region

UUIDによる地域の詳細情報

言語

ツール

説明

list_languages

データベース内のすべての言語を一覧表示

get_language

UUIDによる言語の詳細情報

開発

npm install
npm run build      # compile TypeScript → dist/

stdioサーバーを直接実行:

GEOMELON_API_KEY=your_key node dist/stdio.js

HTTPサーバーを直接実行:

GEOMELON_API_KEY=your_key PORT=3000 node dist/http.js

Available Tools

1 tool
search_cities_in_countryA
Read-only

Search cities using a country name instead of an ISO code. Resolves the country first, then searches cities within it.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoCity name prefix to filter by
sortNoSort order
limitNoMax results (default 20)
offsetNoPagination offset
countryNameYesCountry name prefix (e.g. "France", "United States")
maxPopulationNoMaximum population
minPopulationNoMinimum population
preferredLanguagesNoComma-separated BCP 47 language tags

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=true, so the description's mention of 'Resolves the country first' adds some behavioral context but does not provide additional safety or limitation details. Description does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences that directly describe the tool's core purpose without any redundant or extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description gives a high-level overview of the two-step process (resolve country, search cities) but does not mention pagination or return format despite pagination parameters existing. Adequate but could be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all parameters are described there. The description does not add meaning beyond the schema, but baseline is 3 due to high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb 'search' and resource 'cities', and specifies the mechanism: using a country name instead of an ISO code. It distinguishes the tool's function clearly despite no siblings listed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for searching cities by country name (as opposed to ISO code), providing some context. However, it does not explicitly state when to use or avoid this tool, nor does it reference alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 20 tool updatesv1.1.1
    • Removedcities_by_coordinates_closest
    • Removedcities_by_coordinates_largest
    • Removedcities_distance
    • Removedcity_context
    • Removedcompare_cities
    • Removedcountry_overview
    • Removedfind_cities_near_city
    • Removedget_city
    • Removedget_city_settlement_types
    • Removedget_city_translations
    • Removedget_country
    • Removedget_country_regions
    • Removedget_country_translations
    • Removedget_language
    • Removedget_region
    • Removedget_region_translations
    • Removedlist_countries
    • Removedlist_languages
    • Removedlist_regions
    • Removedsearch_cities
  2. 21 tool updatesv1.0.9
    • Addedcities_by_coordinates_closest
    • Addedcities_by_coordinates_largest
    • Addedcities_distance
    • Addedcity_context
    • Addedcompare_cities
    • Addedcountry_overview
    • Addedfind_cities_near_city
    • Addedget_city
    • Addedget_city_settlement_types
    • Addedget_city_translations
    • Addedget_country
    • Addedget_country_regions
    • Addedget_country_translations
    • Addedget_language
    • Addedget_region
    • Addedget_region_translations
    • Addedlist_countries
    • Addedlist_languages
    • Addedlist_regions
    • Addedsearch_cities
    • Addedsearch_cities_in_country
  3. 21 tool updates
    • Removedcities_by_coordinates_closest
    • Removedcities_by_coordinates_largest
    • Removedcities_distance
    • Removedcity_context
    • Removedcompare_cities
    • Removedcountry_overview
    • Removedfind_cities_near_city
    • Removedget_city
    • Removedget_city_settlement_types
    • Removedget_city_translations
    • Removedget_country
    • Removedget_country_regions
    • Removedget_country_translations
    • Removedget_language
    • Removedget_region
    • Removedget_region_translations
    • Removedlist_countries
    • Removedlist_languages
    • Removedlist_regions
    • Removedsearch_cities
    • Removedsearch_cities_in_country
  4. 21 tool updatesv1.0.8
    • First observedcities_by_coordinates_closest
    • First observedcities_by_coordinates_largest
    • First observedcities_distance
    • First observedcity_context
    • First observedcompare_cities
    • First observedcountry_overview
    • First observedfind_cities_near_city
    • First observedget_city
    • First observedget_city_settlement_types
    • First observedget_city_translations
    • First observedget_country
    • First observedget_country_regions
    • First observedget_country_translations
    • First observedget_language
    • First observedget_region
    • First observedget_region_translations
    • First observedlist_countries
    • First observedlist_languages
    • First observedlist_regions
    • First observedsearch_cities
    • First observedsearch_cities_in_country

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no risk of confusion or overlap with other tools.

Naming Consistency5/5

The single tool name follows a clear verb_noun pattern (search_cities_in_country), which is consistent and descriptive.

Tool Count3/5

A single tool feels thin for a geographic data server; while it serves a specific purpose, users might expect more capabilities like listing countries or city details.

Completeness1/5

The tool only allows searching cities by country name, missing essential operations like retrieving city details, listing countries, or reverse lookups, making the surface severely incomplete.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    A geospatial MCP server that provides tools for geocoding, routing, elevation profiles, and spatial analysis. It enables AI agents to process GIS file formats like GeoJSON and Shapefiles while performing complex coordinate transformations and distance calculations.
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for spatial queries via the Terranode Geospatial API, enabling AI agents to perform point-in-polygon lookups, nearest feature search, distance calculations, and spatial joins.
    6
    31 npm
    MIT