{
  "$schema": "https://modelcontextprotocol.io/schema/server-card/draft.json",
  "name": "wpnews",
  "version": "1.2.0",
  "description": "AI/tech news index with topic, entity, and trend tools.",
  "homepage": "https://wpnews.pro",
  "license": "MIT",
  "serverInfo": {
    "name": "wpnews",
    "version": "1.2.0",
    "description": "AI/tech news index with topic, entity, and trend tools.",
    "publisher": "wpnews.pro",
    "license": "MIT",
    "homepage": "https://wpnews.pro"
  },
  "transport": {
    "type": "http+sse",
    "endpoint": "https://api.wpnews.pro/mcp/sse",
    "alternates": [
      {
        "type": "stdio",
        "command": "npx",
        "args": [
          "-y",
          "wpnews-mcp@latest"
        ]
      }
    ]
  },
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": false,
    "logging": false
  },
  "tools": [
    {
      "name": "search_news",
      "description": "Full-text BM25 search over AI/tech articles.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "description": "Search query"
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "uk"
            ],
            "default": "en"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 10
          }
        },
        "required": [
          "q"
        ]
      }
    },
    {
      "name": "get_news",
      "description": "Fetch latest articles with topic, sentiment, language filters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string"
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "uk"
            ],
            "default": "en"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 10
          },
          "since_hours": {
            "type": "integer",
            "minimum": 1,
            "maximum": 168
          }
        }
      }
    },
    {
      "name": "get_entity",
      "description": "Get articles + metadata for a named entity (company, person, product).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Entity name (e.g. OpenAI, Anthropic, ChatGPT)"
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "uk"
            ],
            "default": "en"
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "get_topic_digest",
      "description": "Pre-formatted news digest for a topic \u2014 for system prompt context injection.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string"
          },
          "format": {
            "type": "string",
            "enum": [
              "text",
              "markdown",
              "json"
            ],
            "default": "markdown"
          },
          "hours": {
            "type": "integer",
            "minimum": 1,
            "maximum": 168,
            "default": 24
          }
        },
        "required": [
          "topic"
        ]
      }
    },
    {
      "name": "trending_entities",
      "description": "Top entities by mention velocity over given window.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "days": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "default": 7
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "default": 10
          }
        }
      }
    }
  ],
  "authentication": {
    "type": "apiKey",
    "header": "X-API-Key",
    "freeTierUrl": "https://wpnews.pro/api"
  },
  "documentation": "https://wpnews.pro/integrations"
}