MCP-ChatBot weather MCP server demo

MCP-ChatBot weather MCP server demo

mcp-chatbot-muralianand12345•bymuralianand12345

A containerized chatbot application with a FastMCP-based weather server and a Streamlit client that queries weather information through natural language.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides an MCP server that retrieves weather data via WeatherAPI.
  • •Pairs the server with a Streamlit client powered by GPT-4o for natural language weather queries.
  • •Supports adding more MCP servers for additional capabilities.

BEST FOR

  • •Asking natural language weather questions through a chatbot interface.
  • •Extending an MCP-based chatbot with additional backend services.

ABOUT MCP-CHATBOT-MURALIANAND12345

MCP-ChatBot weather MCP server demo is cataloged as an MCP server attributed to muralianand12345. A containerized chatbot application with a FastMCP-based weather server and a Streamlit client that queries weather information through natural language. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP-ChatBot weather MCP server demo are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What backend service does the included MCP server provide?

It is a weather service backend that retrieves real-time weather data using WeatherAPI.

How is the chatbot deployed?

It is containerized with separate containers for the MCP server and the client application, launched with Docker Compose.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7912608bf74e · 采集于 2026-11-13 11:59:23 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP-ChatBot

A versatile chatbot application that uses MCP (Modular Capability Protocol) to interact with multiple service backends.

MCP Chatbot License Python Docker

Overview

MCP-ChatBot is a containerized application that demonstrates the use of Modular Capability Protocol (MCP) to enable LLM interactions with external services. This implementation includes a weather service backend and a Streamlit-based frontend that allows users to query for weather information through natural language.

Features

  • Containerized Architecture: Separate containers for the MCP server and client application
  • Weather Service Integration: Real-time weather data using WeatherAPI
  • Streamlit UI: Clean, responsive user interface for interacting with the chatbot
  • Extensible Design: Ready to add more MCP servers for additional capabilities
  • GPT-4o Integration: Powered by OpenAI's GPT-4o model for natural language understanding

Architecture

The application consists of two main components:

  1. MCP Server: A FastMCP-based service that handles weather data retrieval
  2. Streamlit Client: A web-based UI for interacting with the chatbot

Getting Started

Prerequisites

  • Docker and Docker Compose
  • WeatherAPI Key (sign up at WeatherAPI)
  • OpenAI API Key (sign up at OpenAI)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/MCP-ChatBot.git
cd MCP-ChatBot
  1. Create an .env file based on the example:
cp .env.example .env
  1. Edit the .env file and add your API keys:
PYTHONUNBUFFERED=1
OPENAI_API_KEY=your_openai_api_key_here
WEATHER_API_KEY=your_weather_api_key_here
  1. Launch the application using Docker Compose:
docker-compose up --build
  1. Access the Streamlit UI at: http://localhost:8501

Usage

Once the application is running, you can interact with the chatbot through the Streamlit interface:

  1. Type natural language queries about weather in the text input
  2. Examples:
    • "What's the weather like in New York?"
    • "How hot is it in Tokyo right now?"
    • "Tell me about the weather in London"

Extending the Application

Adding New MCP Servers

  1. Create a new server file in the servers directory
  2. Add the new service to the docker-compose.yml file
  3. Update the client.py to include the new server in the agent configuration

Example of adding a new server in client.py:

server_1 = MCPServerHTTP(url="http://mcp_server:8001/sse")
server_2 = MCPServerHTTP(url="http://new_server:8002/sse")  # New server

return Agent("openai:gpt-4o", mcp_servers=[server_1, server_2])

Development

Project Structure

MCP-ChatBot/
├── .env.example             # Example environment variables
├── .gitignore               # Git ignore file
├── client.py                # Streamlit client application
├── docker-compose.yml       # Docker Compose configuration
├── Dockerfile.client        # Dockerfile for Streamlit client
├── Dockerfile.server        # Dockerfile for MCP server
├── LICENSE                  # MIT license
├── README.md                # Project documentation
└── servers/                 # MCP server implementations
    └── server.py            # Weather service implementation

Technology Stack

  • FastMCP: Framework for creating MCP servers
  • Streamlit: Web framework for the UI
  • Pydantic-AI: Agent system for LLM interactions
  • Docker: Containerization platform
  • OpenAI GPT-4o: LLM for natural language processing

Troubleshooting

Common Issues

  1. Connection Failed: Ensure that all services are up and running. The client has a retry mechanism, but if it fails, restart the application.

  2. API Key Errors: Verify that you've added valid API keys to the .env file.

  3. Docker Network Issues: If containers can't communicate, check the Docker network configuration and ensure the service names match in the code.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


Created by Murali Anand © 2025

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP-ChatBot weather MCP server demo from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-chatbot-muralianand12345)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research