GNews

Official GNews API server: search news articles and top headlines from 80,000+ sources.

我该使用它吗

质量与安全性

C
描述质量
20%
模式完整度
63%
命名质量
90%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(4)

  • LOWTool 'search' has short description在 search 中
  • LOWTool 'search' description lacks action verb在 search 中
  • LOWTool 'top_headlines' has short description在 top_headlines 中
  • LOWTool 'top_headlines' description lacks action verb在 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 个工具