Life Assistant MCP Server
Life Assistant MCP Server (Маленький инструментарий для повседневной жизни)
MCP-сервер на основе фреймворка HelloAgents, объединяющий три возможности: запрос погоды + горячие новости + обработка текста в один компактный инструментарий. Все используемые публичные API не требуют ключей, код состоит всего из 96 строк — просто и без лишних сложностей.
Функциональные возможности
🌤️ Запрос погоды: поддержка 12 крупных городов Китая в реальном времени (wttr.in, без ключа)
🔥 Горячие новости: ТОП-10 заголовков Toutiao / Baidu
🔍 Поиск новостей: поиск последних новостей по ключевым словам (Bing News RSS, без ключа)
✂️ Текстовые инструменты: реверс, подсчёт слов, перевод в верхний/нижний регистр
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
Инструмент | Описание | Параметры |
| Получить текущую погоду в городе |
|
| Список поддерживаемых городов для погоды | Нет |
| ТОП-10 горячих новостей |
|
| Поиск новостей по ключевому слову |
|
| Реверс текста |
|
| Подсчёт слов |
|
| Преобразование регистра |
|
| Информация о сервере | Нет |
Примеры
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"}, ...]Источники данных (все без ключей)
Погода: https://wttr.in
Горячие новости: https://www.toutiao.com/hot-event/hot-board , https://top.baidu.com
Новости: https://www.bing.com/news
Поддерживаемые города
Пекин, Шанхай, Гуанчжоу, Шэньчжэнь, Ханчжоу, Чэнду, Чунцин, Ухань, Сиань, Нанкин, Тяньцзинь, Сучжоу
Также поддерживаются английские названия городов для запроса любого города мира.
Лицензия
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.
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