Life Assistant MCP Server
Life Assistant MCP Server(生活アシスタント小ツールボックス)
HelloAgents フレームワークに基づく MCP サーバーで、天気予報 + ホットニュース + テキスト処理 の3つの機能を1つのツールボックスにまとめました。 すべて無料の公開 API を使用し、コードはわずか96行、シンプルで複雑ではありません。
機能特徴
🌤️ 天気予報:中国の主要12都市のリアルタイム天気をサポート(wttr.in、キー不要)
🔥 ホットニュース:头条ホットランキング / 百度ホット検索 TOP10
🔍 ニュース検索:キーワードで最新ニュースを検索(Bing News RSS、キー不要)
✂️ テキストツール:反転、単語数カウント、大文字変換、小文字変換
Related MCP server: weather
インストール
pip install hello-agents requests使用方法
直接実行(HTTP トランスポート、デフォルト 8081 ポート)
python server.pystdio トランスポート(Claude Desktop / HelloAgents ローカル使用)
python server.py --stdioClaude Desktop で使用する
claude_desktop_config.json を編集:
{
"mcpServers": {
"life-assistant": {
"command": "python",
"args": ["/path/to/server.py", "--stdio"]
}
}
}HelloAgents で使用する
from hello_agents import SimpleAgent, HelloAgentsLLM
from hello_agents.tools import MCPTool
agent = SimpleAgent(name="生活助手", llm=HelloAgentsLLM())
tool = MCPTool(server_command=["python", "server.py", "--stdio"])
agent.add_tool(tool)
response = agent.run("北京今天天气怎么样?顺便看看今天有什么热搜")デモスクリプトを実行する
リポジトリには完全なデモが付属しています(SimpleAgent + ツールボックス:天気確認 → ホットニュース表示 → テキスト反転):
python examples/demo_agent.pyAPI ツール
ツール | 説明 | パラメータ |
| 都市のリアルタイム天気を取得 |
|
| 天気対応都市を一覧表示 | なし |
| ホットニュース TOP10 |
|
| キーワードでニュース検索 |
|
| テキストを反転 |
|
| 単語数をカウント |
|
| 大文字小文字変換 |
|
| サーバー情報 | なし |
例
get_weather
{"city": "北京", "temperature": 23.0, "condition": "Patchy rain nearby", "humidity": "85", "wind_kmh": 1.1, "timestamp": "2026-08-18 09:58:21"}get_hot_news
[{"rank": 1, "title": "天安门下半旗悼念朱镕基同志", "heat": "9733617"}, ...]search_news
[{"title": "从DeepSeek到"人工智能+":中美AI竞赛究竟在比什么?", "url": "https://...", "date": "Sun, 02 Aug 2026"}, ...]データソース(すべてキー不要)
対応都市
北京、上海、広州、深圳、杭州、成都、重慶、武漢、西安、南京、天津、蘇州
英語の都市名でも世界中の任意の都市を検索可能です。
ライセンス
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
China MCP gateway hosting HTTP APIs for Doubao/Tongyi/Wenxin/Claude; weather, currency, holiday.
Live data: weather, air quality, FX, CN/HK/US stocks, IP geo, domain, SSL, China reachability.
MCP server for current weather and multi-day forecasts worldwide, Chinese city names and output.
China news (EN/ZH), Weibo 微博/Baidu 百度/Zhihu 知乎 hot lists and deletion watch from public data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides utility tools including weather alerts, GitHub repository analysis, phone model lookup, Chinese ID card parsing, and User-Agent parsing.ISC
- AlicenseBqualityDmaintenanceProvides Chinese city weather query and forecast functionality using Juhe Weather API.26 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for Chinese character stroke order animation with tracing practice and real-time weather queries for major cities.-
- AlicenseNot gradedqualityDmaintenanceEnables real-time weather queries for 12 major Chinese cities and global cities using the wttr.in API without an API key, with tools for weather, city listing, and server info.MIT