Model Context Protocol
by arkapatra31
This project provides a service built using the Model Context Protocol (MCP) with FastMCP. It enables users to query real-time weather information and access internet usage data.
Last updated: N/A
What is Model Context Protocol?
This server is a service built using the Model Context Protocol (MCP) that provides access to real-time weather information for any city and internet usage data by country.
How to use Model Context Protocol?
To use the weather service, configure the MCP server and query 'Current weather in <city_name>' from an MCP Client (e.g., Claude Desktop). For the internet usage service, configure the MCP server and use the provided resources to retrieve data for specific countries.
Key features of Model Context Protocol
Get current weather information for any city
Query internet usage data by country
Async API for efficient processing
MCP-based protocol for standardized communication
Use cases of Model Context Protocol
Providing real-time weather information to users
Analyzing internet usage trends across different countries
Integrating weather and internet usage data into other applications
Building context-aware applications using MCP
FAQ from Model Context Protocol
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
MCP is a protocol for standardized communication between services and clients.
What API is used for weather data?
What API is used for weather data?
The Tavily search API is used to fetch weather data.
Where is the internet usage data stored?
Where is the internet usage data stored?
Internet usage data is stored in MongoDB.
How do I configure the services?
How do I configure the services?
You need to create a .env file with the necessary API keys and database connection strings.
How do I run the internet usage service?
How do I run the internet usage service?
Use the command mcp dev .<entry-point internet-usage>