mcp-meteostat-server
0
MCP-Server is a project that uses the Meteostat API to fetch worldwide meteorological data. It includes an Express.js server to facilitate the handling of weather data requests.
MCP-Server
This is an MCP-Server that uses the Meteostat API to get meteorological data worldwide.
Description
This server fetches data from the Meteostat API to provide information on weather conditions globally.
Prerequisites
- Node.js
- npm
Installation
Install the dependencies:
npm install
Usage
To start the server, run:
npm run start
Express.js Server
This project includes an Express.js server. To run the server, follow these steps:
- Build the project:
npm run build
- Start the server:
node build/server.js
Making POST Requests
You can make POST requests to the server using Postman or any other HTTP client.
Example request:
- URL:
http://localhost:4000/get_nearby_stations
- Body:
{ "lat": 39.7492, "lon": -8.8103 }
This request will retrieve the meteorological data for the specified location and date.