Mcp-server-test

Mcp-server-test

0

The MCP Server is designed for retrieving weather information, converting currency, and fetching recent news. It works in conjunction with the CLAUDE DESKTOP client and allows users to execute queries using Model Context Protocol tools.

MCP SERVER

Features

  • Weather: Get current weather by city name (e.g., "Moscow", "Tokyo").
  • Currency Exchange: Conversion between any currencies (e.g., "USD" to "EUR").
  • News: News from the last 7 days. You can specify a topic or source, such as news from Bloomberg over the past 7 days.

To use, the CLAUDE DESKTOP client is required. Download link: Claude AI Download.

Server Setup

  1. Clone the Repository
    • Open Command Prompt (CMD) or PowerShell.
    • Execute git clone https://github.com/Kostya-Zhdanovich/Mcp-server-test
  2. Navigate to the Project Folder
    • cd Mcp-server-test
  3. Install uv
    • powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  4. Project Preparation
    • uv venv
    • .venv\Scripts\activate
    • uv add mcp[cli] httpx

Testing

MCP Inspector is used for testing

  • Enter this command in the console after entering the project directory: npx @modelcontextprotocol/inspector python main.py

  • Visit the provided link to connect to the server and navigate to the tools tab to test current features and see request results.