GNews
Official GNews API server: search news articles and top headlines from 80,000+ sources.
我該用這個嗎
品質與安全性
C
發現項目(4)
- LOW在 search 中
- LOW在 search 中
- LOW在 top_headlines 中
- LOW在 top_headlines 中
根據工具定義與協定合規性的自動化分析。
上下文成本
~364Token(工具定義)
~2.0 KB典型回應大小
極小的注意力影響(128k 上下文的 0.28%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"gnews": {
"url": "https://mcp.gnews.io/"
}
}
}遠端端點
https://mcp.gnews.io/streamable-http它能做什麼
工具清單
工具(2)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢search(q, lang, country, max, in_fields, ...)
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string"
},
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"max": {
"default": 10,
"type": "integer"
},
"in_fields": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"sortby": {
"default": "publishedAt",
"enum": [
"publishedAt",
"relevance"
],
"type": "string"
},
"date_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"date_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"page": {
"default": 1,
"type": "integer"
}
},
"required": [
"q"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}⚪top_headlines(category, lang, country, max, q, ...)
輸入結構描述
{
"type": "object",
"properties": {
"category": {
"default": "general",
"enum": [
"general",
"world",
"nation",
"business",
"technology",
"entertainment",
"sports",
"science",
"health"
],
"type": "string"
},
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"max": {
"default": 10,
"type": "integer"
},
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"date_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"date_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"page": {
"default": 1,
"type": "integer"
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"additionalProperties": true
}社群
證據
近期觀測
已驗證未記錄版本2 個工具