M

My First MCP

An example project of a weather query server based on the MCP protocol, providing the function of querying city weather information
2 points
12

What is the Weather Server?

The Weather Server is a simple tool based on the Model Context Protocol (MCP) that can provide real-time weather information for any city worldwide. Whether you want to check the current weather or the forecast for the next few days, you can easily obtain it through this server.

How to use the Weather Server?

The Weather Server is very easy to use! Simply enter the city name, and the server will return detailed weather information. There's no need to install complex software; you just need a client that supports the MCP protocol to start using it.

Applicable Scenarios

The Weather Server is suitable for individuals or enterprises that need real-time weather information, such as travelers, logistics management companies, and any users who want to know the weather conditions in a specific area.

Main Features

Real-time Weather QuerySupports quick query of the current weather conditions by city name.
Multi-day Weather ForecastProvides weather trend forecasts for the next 7 days to help you plan in advance.
Supports Global CitiesCovers major cities worldwide, allowing you to obtain accurate weather information no matter where you are.

Advantages and Limitations

Advantages
Can be used without installing additional software
Supports city queries worldwide
Real-time updated weather data
Limitations
Does not support offline mode
Weather data may be affected by network latency

How to Use

Clone the Project Repository
First, you need to clone the GitHub repository of the Weather Server to your local machine.
Install Dependencies
After entering the project directory, run the following command to install the required dependencies.
Start the Server
Use the Inspector tool to start the Weather Server.

Usage Examples

Case Title: Query the weather in New York CityThe user wants to know the current weather conditions in New York City.
Case Title: Query the weather for the next three days in ShanghaiThe user plans to travel to Shanghai on business and wants to know the weather for the next three days.

Frequently Asked Questions

Which cities does the Weather Server support?
How to stop the server from running?
Does the server support offline mode?

Related Resources

Official Documentation
Official documentation for the Model Context Protocol (MCP)
GitHub Repository
Open-source code repository for the Weather Server
Demo Video
Watch a demonstration of the actual operation of the Weather Server
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "-y",
        "tsx",
        "(path-to-the-file)\\index.ts"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
253
4 points
B
Baidu Map
Certified
Baidu Maps MCP Server is the first domestic map service compatible with the MCP protocol, offering 10 standardized API interfaces such as geocoding and route planning, supporting quick access via Python and Typescript, and enabling agents to implement map - related functions.
Python
728
4.5 points
F
Firecrawl MCP Server
The Firecrawl MCP Server is a Model Context Protocol server integrating Firecrawl's web - scraping capabilities, providing rich web - scraping, searching, and content - extraction functions.
TypeScript
3.9K
5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
454
4.5 points
P
Perplexity MCP
Certified
An MCP server based on the Perplexity AI API, providing web search functionality for the Claude desktop client.
Python
275
4.1 points
E
Exa Web Search
Certified
The Exa MCP Server is a server that provides web search capabilities for AI assistants (such as Claude), enabling real-time and secure web information retrieval through the Exa AI Search API.
TypeScript
1.8K
5 points
P
Perplexity Research Assistant
The Perplexity MCP Server is an intelligent research assistant that uses Perplexity's AI model to automatically analyze query complexity and select the best model to process requests. It supports three tools: search, reasoning, and in - depth research.
TypeScript
270
4.5 points
A
Arxiv
The ArXiv MCP Server is a bridge connecting AI assistants with the arXiv research library, enabling paper search and content access through the MCP protocol.
Python
1.1K
5 points
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
837
4.3 points
G
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
97
4.3 points
M
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
N
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
150
4.5 points
U
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#
572
5 points
F
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
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
G
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
288
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase