Model Context Protocol
A service project based on the Model Context Protocol (MCP) and FastMCP, providing real-time weather query for cities and access to Internet usage data of countries.
rating : 2 points
downloads : 10
What is an MCP server?
The MCP server is a standardized communication platform that integrates two major functional modules: weather query and Internet usage data. Through simple query instructions, users can obtain real-time weather information for any city in the world or Internet usage statistics for specific countries.How to use the MCP server?
Send query instructions in a specific format through an MCP-compatible client (such as Claude Desktop) to obtain data. For the weather service, directly query the city name. For the Internet data service, specify the country code.Applicable scenarios
Suitable for scenarios that require quick access to weather information or Internet statistics, such as travel planning, market research, and data analysis. Particularly suitable for workflows that require automated data collection.Main features
Weather query serviceObtain real-time weather information for any city in the world through the Tavily Search API, including key indicators such as temperature, humidity, and wind speed.
Internet usage dataBased on the Internet usage statistics of various countries stored in the MongoDB database, detailed usage information can be queried by country.
Asynchronous APIAdopts an asynchronous processing architecture to ensure response speed and system stability under high concurrency.
MCP protocol standardFollows the Model Context Protocol standard to ensure compatibility and interoperability with other MCP services.
Advantages and limitations
Advantages
One-stop access to weather and Internet usage data
Standardized protocol ensures service stability
Asynchronous processing improves response speed
Easy to integrate into existing workflows
Limitations
An API key is required to use the weather service
The countries covered by Internet data may be limited
Initial setup requires configuring environment variables
How to use
Environment preparation
Install Python 3.8+ and the Poetry dependency management tool.
Project setup
Clone the project repository and configure the virtual environment.
Configure environment variables
Create a .env file and fill in the necessary API keys and database connection information.
Start the service
Start the weather service or Internet data service as needed.
Usage examples
Travel planningQuery the local weather before planning a trip to Paris.
Market analysisAnalyze the Internet penetration rate of the target market country.
Frequently Asked Questions
How to obtain a Tavily API key?
Which countries' Internet data are supported for query?
Must the city name be in English when querying the weather?
What is the data update frequency?
Related resources
MCP protocol documentation
Official documentation of the Model Context Protocol
Tavily API
Official documentation of the Tavily Search API
MongoDB Atlas
MongoDB cloud database service
GitHub repository
Project source code repository
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
829
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
564
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
753
4.8 points