loading…
Search for a command to run...
loading…
An MCP server that exposes the Horizon content aggregation and analysis pipeline as a suite of modular tools. It enables users to automate fetching, AI-based sc
An MCP server that exposes the Horizon content aggregation and analysis pipeline as a suite of modular tools. It enables users to automate fetching, AI-based scoring, filtering, background enrichment, and summary generation for various data sources.
面向 Horizon 的 MCP Server。
服务直接复用 Horizon 原生 Python 实现,按阶段暴露工具,不重复造业务逻辑。
hz_validate_config:校验 Horizon 配置有效性与关键环境变量是否齐全。hz_fetch_items:抓取并去重新闻内容,写入 raw 阶段。hz_score_items:调用 AI 对指定阶段内容打分,写入 scored 阶段。hz_filter_items:按分数阈值过滤并做主题去重,写入 filtered 阶段。hz_enrich_items:对高分内容执行背景富化,写入 enriched 阶段。hz_generate_summary:从指定阶段内容生成 Markdown 摘要。hz_run_pipeline:一键执行抓取、打分、过滤、富化、摘要全流程。hz_list_runs:列出最近 run 记录及各阶段产物状态。hz_get_run_meta:读取指定 run 的元数据。hz_get_run_stage:读取指定 run 的阶段内容(raw/scored/filtered/enriched)。hz_get_run_summary:读取指定 run 的摘要内容。hz_get_metrics:读取服务内存指标与调用统计。horizon://server/infohorizon://metricshorizon://runshorizon://runs/{run_id}/metahorizon://runs/{run_id}/items/{stage}horizon://runs/{run_id}/summary/{language}horizon://config/effective$HORIZON_PATH./Horizon../Horizon/Users/Zhuanz/work-space/Horizon/tmp/HorizonHorizon 配置文件存在:<horizon_path>/data/config.json
(可选)MCP 密钥配置文件(避免手动 export):
.cursor/mcp.secrets.json.cursor/mcp.secrets.local.jsonconfig/mcp.secrets.jsonconfig/mcp.secrets.local.json<horizon_path>/data/mcp.secrets.json<horizon_path>/data/mcp-secrets.json支持字段:
{
"OPENAI_API_KEY": "sk-xxxx",
"GITHUB_TOKEN": "ghp_xxxx"
}
也支持嵌套写法:
{
"env": {
"OPENAI_API_KEY": "sk-xxxx",
"GITHUB_TOKEN": "ghp_xxxx"
}
}
cd /Users/Zhuanz/work-space/Horizon-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
# stdio 启动(给 MCP 客户端使用)
horizon-mcp
每次 run 会写入:data/mcp-runs/<run_id>/
meta.jsonraw_items.jsonscored_items.jsonfiltered_items.jsonenriched_items.jsonsummary-<lang>.mdrun_id 可分步执行。接入示例见:docs/integration.md
快速连通检查:
cd /Users/Zhuanz/work-space/Horizon-mcp
make check-mcp
本仓库已设置:
user.name=henry-insomniac[email protected]Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"horizon-mcp": {
"command": "npx",
"args": []
}
}
}Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also