Back to home

Connect opcnew to your AI assistant

Use Model Context Protocol to let your AI read opcnew's 4,300+ AI industry articles directly. No copy-paste.

What you get

  • 6 tools search_articles / get_article / list_topics / get_article_meta / list_recent / compare_locales
  • 3 prompt templates (slash commands) daily_digest / topic_brief / compare_two_articles
  • 50 articles as @-mentions (bilingual catalog)
  • Free, no API key (public read endpoint)

opencode

Add to opencode.json in your project root (or the global ~/.config/opencode/opencode.json):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "opcnew": {
      "type": "remote",
      "url": "https://www.opcnew.com/api/mcp"
    }
  }
}

Note: opencode nests servers under `mcp` and a remote entry must set "type": "remote" — it is not interchangeable with the `mcpServers` shape below.

Other clients

For clients using the `mcpServers` shape (Claude family and most desktop clients):

{
  "mcpServers": {
    "opcnew": {
      "url": "https://www.opcnew.com/api/mcp"
    }
  }
}
  • Cursor In Settings → MCP, add URL: https://www.opcnew.com/api/mcp
  • ChatGPT Via Custom MCP integration (developer preview)
  • 豆包 / Kimi / MiniMax Add MCP server in agent settings, URL above

Available tools

search_articlesSearch titles/summaries/tags + 6 filters (tags/category/score_min/since/source/byline), cursor paging
get_articleFetch full article by slug, with body chunking
list_topicsAll tags with article counts
get_article_metaMetadata only, no body — token saver
list_recentPast N hours, cursor pagination
compare_localesEN ↔ 中文 side by side, paired via canonical_id

Search covers titles, summaries and tags — not bodies — through an English tokenizer, so Chinese queries match poorly. Prefer EN terms.

Prompt templates

Invoke as slash commands in clients that support prompts

  • /daily_digest Past 24h: 5 key stories + trends
  • /topic_brief Recent brief on a tag
  • /compare_two_articles Side-by-side comparison of two articles

Test the endpoint

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"}'

Protocol: negotiates up to 2025-11-25