Skip to main content
Glama
Life Assistant MCP Server

Life Assistant MCP Server

by kkmmtt0919

Life Assistant MCP Server(생활 도우미 미니 도구 상자)

HelloAgents 프레임워크 기반의 MCP 서버로, 날씨 조회 + 인기 검색 뉴스 + 텍스트 처리 세 가지 기능을 하나의 작은 도구 상자로 묶었습니다. 모두 API 키가 필요 없는 공개 API를 사용하며, 코드는 단 96줄로 간단합니다.

기능 특징

  • 🌤️ 날씨 조회: 중국 주요 도시 12곳의 실시간 날씨 지원 (wttr.in, API 키 불필요)

  • 🔥 인기 검색 뉴스: 头条热榜 / 百度热搜 TOP10

  • 🔍 뉴스 검색: 키워드로 최신 뉴스 검색 (Bing News RSS, API 키 불필요)

  • ✂️ 텍스트 도구: 뒤집기, 단어 수 세기, 대문자 변환, 소문자 변환

Related MCP server: weather

설치

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"}, ...]

데이터 소스 (모두 API 키 불필요)

지원 도시

베이징, 상하이, 광저우, 선전, 항저우, 청두, 충칭, 우한, 시안, 난징, 톈진, 쑤저우

영문 도시명으로도 전 세계 어느 도시든 조회할 수 있습니다.

라이선스

MIT License

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides utility tools including weather alerts, GitHub repository analysis, phone model lookup, Chinese ID card parsing, and User-Agent parsing.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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