Overview
What is MCP-Server?
MCP-Server is a server that uses the Meteostat API to retrieve meteorological data worldwide. It is intended for developers who need programmatic access to weather information.
How to use MCP-Server?
Install dependencies with npm install, then start the server with npm run start or build the project and run node build/server.js. Send POST requests to endpoints such as /get_nearby_stations with latitude and longitude in the request body.
Key features of MCP-Server
- Fetches meteorological data from the Meteostat API globally.
- Includes an Express.js server for HTTP endpoints.
- Provides an endpoint to retrieve nearby weather stations.
- Simple installation via npm.
- Built with Node.js.
Use cases of MCP-Server
- Retrieve weather data for a specific geographic location.
- Get a list of nearby meteorological stations for a given latitude/longitude.
- Integrate real-time weather information into applications.
FAQ from MCP-Server
What data does MCP-Server provide?
It provides meteorological data from the Meteostat API for locations worldwide.
How do I start the server?
Run npm run start or build the project with npm run build and then execute node build/server.js.
What are the prerequisites?
Node.js and npm must be installed.
What is the example endpoint?
The server exposes a /get_nearby_stations endpoint that accepts a POST request with lat and lon in the JSON body.