{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.nubiia-dev/mcp-newsapi",
  "slug": "io.github.nubiia-dev.mcp-newsapi",
  "title": "mcp-newsapi",
  "summary": "NewsAPI.ai (Event Registry): 10 read-only MCP tools for news articles, events, autosuggest, trends",
  "version": "1.0.2",
  "serverKey": "mcp-newsapi",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.nubiia-dev.mcp-newsapi",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.nubiia-dev.mcp-newsapi/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T23:59:08.101543485Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nubiia/mcp-newsapi@1.0.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-newsapi -e 'NEWSAPI_AI_API_KEY=<NEWSAPI_AI_API_KEY>' -- npx -y @nubiia/mcp-newsapi@1.0.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-newsapi\": {\n      \"args\": [\n        \"-y\",\n        \"@nubiia/mcp-newsapi@1.0.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"NEWSAPI_AI_API_KEY\": \"<NEWSAPI_AI_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-newsapi\": {\n      \"args\": [\n        \"-y\",\n        \"@nubiia/mcp-newsapi@1.0.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"NEWSAPI_AI_API_KEY\": \"<NEWSAPI_AI_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"NEWSAPI_AI_API_KEY\",\n      \"id\": \"newsapi-ai-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-newsapi\": {\n      \"args\": [\n        \"-y\",\n        \"@nubiia/mcp-newsapi@1.0.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"NEWSAPI_AI_API_KEY\": \"${input:newsapi-ai-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-newsapi]\ncommand = \"npx\"\nargs = [\"-y\", \"@nubiia/mcp-newsapi@1.0.2\"]\nenv = { \"NEWSAPI_AI_API_KEY\" = \"<NEWSAPI_AI_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "NEWSAPI_AI_API_KEY",
      "required": true,
      "secret": true,
      "description": "Your NewsAPI.ai API key (newsapi.ai → Dashboard).",
      "help": "Your NewsAPI.ai API key (newsapi.ai → Dashboard).",
      "placeholder": "<NEWSAPI_AI_API_KEY>"
    },
    {
      "name": "NEWSAPI_AI_MAX_TOKENS_PER_SESSION",
      "required": false,
      "secret": false,
      "description": "Max NewsAPI.ai tokens this server may spend per session (process lifetime). Defaults to 200.",
      "help": "Max NewsAPI.ai tokens this server may spend per session (process lifetime). Defaults to 200.",
      "default": "200",
      "placeholder": "200"
    }
  ],
  "expectedTools": [
    "search_articles",
    "get_article",
    "search_events",
    "get_event",
    "suggest_concepts",
    "suggest_categories",
    "suggest_sources",
    "suggest_locations",
    "get_trending_concepts",
    "get_usage"
  ],
  "agentSteps": [
    "Ask the user for: NEWSAPI_AI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: search_articles, get_article, search_events, get_event, suggest_concepts, suggest_categories, suggest_sources, suggest_locations, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T23:59:08.101543485Z"
}
