Skip to main content
Glama
kkmmtt0919

Life Assistant MCP Server

by kkmmtt0919

Life Assistant MCP Server (Pequeña caja de herramientas de asistente de vida)

Un servidor MCP basado en el framework HelloAgents que integra tres capacidades: consulta meteorológica + noticias de tendencias + procesamiento de texto en una pequeña caja de herramientas. Todo usando APIs públicas sin clave, con solo 96 líneas de código, simple y sin complicaciones.

Funcionalidades

  • 🌤️ Consulta meteorológica: soporta el clima en tiempo real de 12 ciudades principales de China (wttr.in, sin clave)

  • 🔥 Noticias de tendencias: Lista de tendencias de Toutiao / Búsqueda popular de Baidu TOP10

  • 🔍 Búsqueda de noticias: busca las últimas noticias por palabra clave (Bing News RSS, sin clave)

  • ✂️ Herramientas de texto: invertir, contar palabras, convertir a mayúsculas, convertir a minúsculas

Related MCP server: lkx-mcp

Instalación

pip install hello-agents requests

Instrucciones de uso

Ejecución directa (transporte HTTP, puerto 8081 por defecto)

python server.py

Transporte stdio (para uso local en Claude Desktop / HelloAgents)

python server.py --stdio

Uso en Claude Desktop

Edita claude_desktop_config.json:

{
  "mcpServers": {
    "life-assistant": {
      "command": "python",
      "args": ["/path/to/server.py", "--stdio"]
    }
  }
}

Uso en 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("北京今天天气怎么样?顺便看看今天有什么热搜")

Ejecutar el script de demostración

El repositorio incluye una demostración completa (SimpleAgent + caja de herramientas: consultar clima → ver tendencias → invertir texto):

python examples/demo_agent.py

Herramientas de la API

Herramienta

Descripción

Parámetros

get_weather

Obtener el clima en tiempo real

city(string)

list_supported_cities

Listar ciudades soportadas

Ninguno

get_hot_news

Tendencias TOP10

source = toutiao(por defecto) / baidu

search_news

Buscar noticias por palabra clave

keyword(string)

reverse_text

Invertir texto

text

count_words

Contar palabras

text

to_uppercase / to_lowercase

Convertir mayúsculas/minúsculas

text

get_server_info

Información del servidor

Ninguno

Ejemplos

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

Fuentes de datos (todas sin clave)

Ciudades soportadas

Pekín, Shanghái, Cantón, Shenzhen, Hangzhou, Chengdu, Chongqing, Wuhan, Xi'an, Nankín, Tianjin, Suzhou

También admite nombres de ciudades en inglés para consultar cualquier ciudad del mundo.

Licencia

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