Life Assistant MCP Server
Life Assistant MCP Server(生活助手小工具箱)
一个基于 HelloAgents 框架的 MCP 服务器,把 天气查询 + 热搜新闻 + 文本处理 三种能力打包成一个小工具箱。 全部使用免密钥的公共 API,代码只有 96 行,简单不复杂。
功能特性
🌤️ 天气查询:支持 12 个中国主要城市实时天气(wttr.in,免密钥)
🔥 热搜新闻:头条热榜 / 百度热搜 TOP10
🔍 新闻搜索:按关键词搜索最新新闻(Bing News RSS,免密钥)
✂️ 文本工具:反转、统计单词数、转大写、转小写
Related MCP server: lkx-mcp
安装
pip install hello-agents requests使用方法
直接运行(HTTP 传输,默认 8081 端口)
python server.pystdio 传输(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.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 installed
Maintenance
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
- AlicenseBqualityDmaintenanceProvides weather forecast data for locations in China through HeFeng Weather API, supporting real-time, hourly, and daily forecasts with full Chinese weather descriptions.313ISC
- Flicense-qualityDmaintenanceProvides utility tools including weather alerts, GitHub repository analysis, phone model lookup, Chinese ID card parsing, and User-Agent parsing.
- Alicense-qualityDmaintenanceProvides 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.14MIT
- Alicense-qualityDmaintenanceProvides Chinese city weather query and forecast functionality using Juhe Weather API.6MIT
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).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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