toshihikoyanase
MCP Servertoshihikoyanasepublic

geo mcp server

提供获取海拔高度等功能的最小化MCP服务器,基于日本地理空间信息局API。

Repository Info

0
Stars
0
Forks
0
Watchers
3
Issues
JavaScript
Language
MIT License
License

About This Server

提供获取海拔高度等功能的最小化MCP服务器,基于日本地理空间信息局API。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Geo MCP Server

A minimal MCP server that provides tools such as getElevation to interact with geographical data. For retrieving elevation data based on latitude and longitude, it utilizes the Geospatial Information Authority of Japan API.

Configuration for Claude Desktop

Add this server under the mcpServers key of Claude Desktop configuration. See the official document of the Model Context Protocol for details.

{
   "mcpServers": {
      "geo": {
         "command": "npx",
         "args": [
            "https://github.com/toshihikoyanase/geo-mcp-server.git"
         ]
      }
   }
}

Example Usage: Retrieving Elevation for Tokyo Metropolitan Government Office

Below is an example of how to use the Geo MCP Server to find the elevation based on the latitude and longitude of the Tokyo Metropolitan Government Office.

!Screenshot: Using the Geo MCP Server in Claude Desktop.

Configuration for VS Code Copilot Agent

Add this server under the servers key in your MCP configuration for VS Code. For example, to enable the MCP server in your workspace, create a .vscode/mcp.json file as follows:

{
    "servers": {
        "geo": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "https://github.com/toshihikoyanase/geo-mcp-server.git",
            ]
        }
    }
}

API

Tool: getElevation

Description: Fetches elevation data for a given latitude and longitude.

Input:

  • lat (number): Latitude of the location.
  • lon (number): Longitude of the location.

Output:

  • Returns the elevation in meters for the specified coordinates.

Development

Setup

  1. Clone this repository:
    git clone git@github.com:toshihikoyanase/geo-mcp-server.git
    cd geo-mcp-server
    
  2. Install dependencies:
    npm install
    
  3. Build the project:
    npm run build
    

Usage

Run the server:

npm start

The server will run using standard input/output (stdio).

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

This software leverages the Elevation API provided by the Geospatial Information Authority of Japan (GSI).

We appreciate GSI’s efforts in maintaining this service. Please ensure your own use of the API complies with GSI’s terms of use and handle the data responsibly.

Quick Start

1

Clone the repository

git clone https://github.com/toshihikoyanase/geo-mcp-server
2

Install dependencies

cd geo-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownertoshihikoyanase
Repogeo-mcp-server
LanguageJavaScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation