把 opcnew 接入你的 AI 助手
通过标准 MCP(Model Context Protocol),让你的 AI 直接读取 opcnew 的 700+ 篇 AI 行业文章。无需复制粘贴。
你将获得
- ✓ 6 个工具:search / get / list_topics / list_recent / list_sources / get_article_meta
- ✓ 4 个 prompt 模板:daily_digest / topic_brief / compare / source_audit(slash 命令)
- ✓ 50 篇文章可 @-mention(中英双语 catalog)
- ✓ 完全免费,无需 API key(公开读端点)
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows),加入:
{
"mcpServers": {
"opcnew": {
"url": "https://www.opcnew.com/api/mcp"
}
}
}其他客户端
- Cursor — 在 Settings → MCP 中添加 URL:
https://www.opcnew.com/api/mcp - ChatGPT — 通过 Custom MCP 集成(开发者预览)
- 豆包 / Kimi / MiniMax — 在 Agent 设置中添加 MCP 服务器,URL 同上
工具一览
| search_articles | 全文 + 6 个过滤参数(tags/category/score_min/since/source/byline) |
| get_article | 按 slug 取全文,可分块读 (body_max_chars/body_start_index) |
| get_article_meta | 只取元数据省 token |
| list_topics | 全部标签 + 文章数 |
| list_recent | 近 N 小时文章 (cursor 分页) |
| list_sources | 116 来源 + 文章数 + 语言 |
Prompt 模板
在支持 prompts 的客户端中作为 slash 命令调用
/daily_digest— 近 24 小时 5 篇核心 + 趋势/topic_brief— 针对某 tag 的近期 brief/compare_two_articles— 两篇文章对比/source_audit— 审视某来源
测试端点
curl -sX POST https://www.opcnew.com/api/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'