opennews

Originally from6551team/opennews-mcp
SKILL.md

OpenNews Crypto News Skill

Query crypto news from the 6551 platform REST API. All endpoints require a Bearer token via $OPEN_TOKEN.

Base URL: https://ai.6551.io

Prerequisites

All requests require the header:

Authorization: Bearer $OPEN_TOKEN

Recommended: find or create a .env file in your project root, Load it before performing news operations.

OPEN_TOKEN=your_token_here

Get your API token at: https://6551.io/mcp

Security warning: Never commit .env to git (add it to .gitignore) and never expose credentials in logs, screenshots, or chat messages.

News Operations

1. Get News Sources

Fetch all available news source categories organized by engine type.

curl -s -H "Authorization: Bearer $OPEN_TOKEN" \
  "https://ai.6551.io/open/news_type"

Returns a tree with engine types (news, listing, onchain, meme, market) and their sub-categories.

2. Search News

POST /open/news_search is the primary search endpoint.

Get latest news:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 10, "page": 1}'

Search by keyword:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"q": "bitcoin ETF", "limit": 10, "page": 1}'

Search by coin symbol:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"coins": ["BTC"], "limit": 10, "page": 1}'

Filter by engine type and news type:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"engineTypes": {"news": ["Bloomberg", "Reuters"]}, "limit": 10, "page": 1}'

Only news with coins:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"hasCoin": true, "limit": 10, "page": 1}'

News Search Parameters

Parameter Type Required Description
limit integer yes Max results per page (1-100)
page integer yes Page number (1-based)
q string no Full-text keyword search
coins string[] no Filter by coin symbols (e.g. ["BTC","ETH"])
engineTypes map[string][]string no Filter by engine and news types
hasCoin boolean no Only return news with associated coins

Important: You need to understand the user's query intent and perform word segmentation, then combine them using OR/AND to form search keywords, supporting both Chinese and English.


Data Structures

News Article

{
  "id": "unique-article-id",
  "text": "Article headline / content",
  "newsType": "Bloomberg",
  "engineType": "news",
  "link": "https://...",
  "coins": [{"symbol": "BTC", "market_type": "spot", "match": "title"}],
  "aiRating": {
    "score": 85,
    "grade": "A",
    "signal": "long",
    "status": "done",
    "summary": "Chinese summary",
    "enSummary": "English summary"
  },
  "ts": 1708473600000
}

Common Workflows

Quick Market Overview

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 10, "page": 1}' | jq '.data[] | {text, newsType, signal: .aiRating.signal}'

High-Impact News (score >= 80)

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPEN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 50, "page": 1}' | jq '[.data[] | select(.aiRating.score >= 80)]'

Notes

  • Get your API token at https://6551.io/mcp
  • Rate limits apply; max 100 results per request
  • AI ratings may not be available on all articles (check status == "done")
Weekly Installs
6
First Seen
5 days ago
Installed on
gemini-cli6
github-copilot6
codex6
kimi-cli6
cursor6
amp6