MCP Geo Server
by toshihikoyanase
A minimal MCP server that provides tools such as `getElevation` to interact with geographical data. It's designed to be used with Claude Desktop.
View on GitHub
Last updated: N/A
MCP Geo Server
A minimal MCP server that provides tools such as getElevation
to interact with geographical data.
Use Claude Desktop
Add your servers in the mcpServers
key of Claude Desktop configuration.
{
"mcpServers": {
"geo": {
"command": "npx",
"args": [
"github.com:toshihikoyanase/geo-mcp-server"
]
}
}
}
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
- Clone this repository:
git clone [email protected]:toshihikoyanase/geo-mcp-server.git cd geo-mcp-server
- Install dependencies:
npm install
- 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.