Skip to main content
Glama
adityapatel143

Adi MCP Server

Adi MCP Server

A Model Context Protocol (MCP) server implementation using FastMCP that provides a set of tools for LLMs to interact with.

Features

  • Weather Integration: Get current weather information for any city using the OpenWeatherMap API.

  • Mathematical Operations: A simple add tool to demonstrate basic functionality.

Related MCP server: Weather MCP Server

Prerequisites

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd ModelContextProtocal
  2. Install dependencies:

    pip install .
  3. Set up your environment variables: Create a .env file in the root directory and add your API key:

    OPENWEATHER_API_KEY=your_openweathermap_api_key_here

Usage

Running the Server

You can run the server using the MCP CLI:

mcp run main.py

Available Tools

Tool

Description

Arguments

add

Adds two integers together.

a (int), b (int)

get_weather

Fetches real-time weather data for a specified city.

city (str)

Project Structure

  • main.py: The core server logic and tool definitions.

  • pyproject.toml: Project metadata and dependency definitions.

  • .env: Environment variables (not tracked by git).

License

[Specify License, e.g., MIT]

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adityapatel143/GenAi_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server