mcp_server_get_dollars_news_news
0
This MCP server provides functionalities for retrieving currency exchange rates, weather forecasts, and news summaries. Designed for easy use with Python, Flask, and additional libraries, it supports client interactions via simple API requests.
Overview
This project is an MCP server offering the following features:
- Retrieve the current dollar exchange rate.
- Get weather forecasts for a specified city.
- Summarize weekly news.
Installation
- Requires Python 3.x, Flask, Requests, Feedparser, pytest
Usage
To install dependencies, run:
To start the server, clone the repository and run:
The server will be accessible at http://127.0.0.1:5000
.
API Endpoints
/rate
for the dollar rate./weather/<city>
for weather forecasts./news
for news summaries.
Testing
Run tests using pytest.
Client Tools
API can be tested with Postman or curl.