Skip to main content
Glama
kkmmtt0919

Life Assistant MCP Server

by kkmmtt0919

Life Assistant MCP Server(生活アシスタント小ツールボックス)

HelloAgents フレームワークに基づく MCP サーバーで、天気予報 + ホットニュース + テキスト処理 の3つの機能を1つのツールボックスにまとめました。 すべて無料の公開 API を使用し、コードはわずか96行、シンプルで複雑ではありません。

機能特徴

  • 🌤️ 天気予報:中国の主要12都市のリアルタイム天気をサポート(wttr.in、キー不要)

  • 🔥 ホットニュース:头条ホットランキング / 百度ホット検索 TOP10

  • 🔍 ニュース検索:キーワードで最新ニュースを検索(Bing News RSS、キー不要)

  • ✂️ テキストツール:反転、単語数カウント、大文字変換、小文字変換

Related MCP server: lkx-mcp

インストール

pip install hello-agents requests

使用方法

直接実行(HTTP トランスポート、デフォルト 8081 ポート)

python server.py

stdio トランスポート(Claude Desktop / HelloAgents ローカル使用)

python server.py --stdio

Claude 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.py

API ツール

ツール

説明

パラメータ

get_weather

都市のリアルタイム天気を取得

city(string)

list_supported_cities

天気対応都市を一覧表示

なし

get_hot_news

ホットニュース TOP10

source = toutiao(デフォルト) / baidu

search_news

キーワードでニュース検索

keyword(string)

reverse_text

テキストを反転

text

count_words

単語数をカウント

text

to_uppercase / to_lowercase

大文字小文字変換

text

get_server_info

サーバー情報

なし

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

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides utility tools including weather alerts, GitHub repository analysis, phone model lookup, Chinese ID card parsing, and User-Agent parsing.
  • A
    license
    -
    quality
    D
    maintenance
    Provides global weather information including current conditions, 5-day forecasts, and US weather alerts through OpenWeatherMap and National Weather Service APIs. Offers native support for Chinese city names and multiple temperature units.
    14
    MIT

View all related MCP servers

Related MCP Connectors

  • Live data: weather, air quality, FX, CN/HK/US stocks, IP geo, domain, SSL, China reachability.

  • News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

  • TravelMind: 8 MCP tools for travel (12306 trains, flights, hotels, geocode, planning, policy).

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kkmmtt0919/life-assistant-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server