get_company_news

Pack: finnhub · Endpoint: https://gateway.pipeworx.io/finnhub/mcp

Get recent news articles about a company within a date range. Returns headline, summary, source, and URL. Example: get_company_news({ symbol: “AAPL”, from: “2024-01-01”, to: “2024-01-31”, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
symbolstringyesStock ticker symbol, e.g. “AAPL”
fromstringyesStart date in YYYY-MM-DD format, e.g. “2024-01-01”
tostringyesEnd date in YYYY-MM-DD format, e.g. “2024-01-31”
_apiKeystringyesFinnhub API key

Example call

Arguments

{
  "symbol": "AAPL",
  "from": "2024-01-01",
  "to": "2024-01-31",
  "_apiKey": "your-finnhub-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/finnhub/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_company_news","arguments":{"symbol":"AAPL","from":"2024-01-01","to":"2024-01-31","_apiKey":"your-finnhub-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_company_news', {
  "symbol": "AAPL",
  "from": "2024-01-01",
  "to": "2024-01-31",
  "_apiKey": "your-finnhub-api-key"
});

More examples

{
  "symbol": "MSFT",
  "from": "2024-06-01",
  "to": "2024-06-30",
  "_apiKey": "your-finnhub-api-key"
}

Response shape

Always returns: count, articles

FieldTypeDescription
countintegerTotal number of articles found
articlesarrayList of news articles (max 20)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of articles found"
    },
    "articles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "headline": {
            "type": "string",
            "description": "Article headline"
          },
          "summary": {
            "type": "string",
            "description": "Article summary"
          },
          "source": {
            "type": "string",
            "description": "News source name"
          },
          "url": {
            "type": "string",
            "description": "Article URL"
          },
          "datetime": {
            "type": "number",
            "description": "Publication timestamp (Unix time)"
          },
          "category": {
            "type": "string",
            "description": "News category"
          }
        },
        "required": [
          "headline",
          "summary",
          "source",
          "url",
          "datetime",
          "category"
        ]
      },
      "description": "List of news articles (max 20)"
    }
  },
  "required": [
    "count",
    "articles"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "finnhub": {
      "url": "https://gateway.pipeworx.io/finnhub/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026