MCP.so
Sign In

MCP Server README

@RainbollD

Basic information

Category

Memory & Knowledge

Transports

stdio

Author

RainbollD

About MCP Server README

No overview available yet

MCP Server README config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp_server_get_dollars_news_news": {
      "command": "python",
      "args": [
        "main.py"
      ]
    }
  }
}

MCP Server README tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server?

MCP Server is a lightweight API server that provides three practical data services: the current US dollar exchange rate, a weather forecast for any city, and a weekly news summary. It is designed for developers who need a simple, self-hosted backend to integrate these data points into their applications or MCP clients.

How to use MCP Server?

Install Python 3.x and the required libraries (Flask, Requests, Feedparser, pytest). Clone the repository, run pip install -r requirements.txt, then start the server with python main.py. The server listens on http://127.0.0.1:5000. Use HTTP GET requests to the endpoints /rate, /weather/<city>, and /news to retrieve the corresponding data.

Key features of MCP Server

  • Fetches the current US dollar exchange rate.
  • Provides current temperature for any city.
  • Delivers a summary of the last week’s news.
  • Simple REST API with three endpoints.
  • Easy to test with curl or Postman.

Use cases of MCP Server

  • Check the latest dollar rate for currency conversion apps.
  • Get real-time weather for a city in a travel dashboard.
  • Pull a quick news roundup for a morning briefing tool.
  • Serve as a lightweight backend for prototyping an MCP-enabled client.

Frequently asked questions

1

What programming language and dependencies are required?

Python 3.x is required, along with Flask, Requests, and Feedparser libraries (listed in requirements.txt).

2

How do I start the server?

Clone the repository, install dependencies with `pip install -r requirements.txt`, then run `python main.py`. The server runs on `http://127.0.0.1:5000`.

3

How can I test the endpoints?

Use curl or Postman. For example, `curl http://127.0.0.1:5000/rate` returns the dollar rate, `curl http://127.0.0.1:5000/weather/Moscow` returns Moscow’s weather, and `curl http://127.0.0.1:5000/news` returns the news summary.

4

Is there a built-in test suite?

Yes. Run `pytest` from the project root to execute the tests.

5

Does the server require authentication or use a specific transport?

No authentication is mentioned; it uses plain HTTP on port 5000 with standard REST endpoints.

Comments

More Memory & Knowledge MCP servers