drio
Open app

MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Server is a Python-based server application that provides an API for accessing weather data, news, and exchange rates.

To use MCP Server, clone the repository, set up a virtual environment, install the required dependencies, and run the server. The API will be accessible at http://127.0.0.1:8000.

  • Provides weather information for specified cities. - Fetches the latest news. - Offers exchange rate information for USD/RUB.
  1. Integrating weather data into applications.
  2. Displaying news updates on websites.
  3. Providing currency exchange information in financial apps.

Add to your AI client

Use these steps to connect MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-denispr97": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-denispr97": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-denispr97": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-denispr97": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-denispr97": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-denispr97": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-denispr97"
      ]
    }
  }
}

FAQ

What programming language is MCP Server built with?

MCP Server is built using Python.

How can I run the server?

You can run the server by executing the command `uvicorn server:app --reload` after setting up the environment.

What endpoints are available?

The available endpoints include /weather/{city}, /news, and /exchange_rate.