get_quote

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

Get a real-time stock quote including current price, change, and volume. Example: get_quote({ symbol: “AAPL”, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
symbolstringyesStock ticker symbol, e.g. “AAPL”, “MSFT”, “TSLA”
_apiKeystringyesFinnhub API key (get one free at finnhub.io)

Example call

Arguments

{
  "symbol": "AAPL",
  "_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_quote","arguments":{"symbol":"AAPL","_apiKey":"your-finnhub-api-key"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_quote', {
  "symbol": "AAPL",
  "_apiKey": "your-finnhub-api-key"
});

More examples

{
  "symbol": "TSLA",
  "_apiKey": "your-finnhub-api-key"
}

Response shape

Always returns: symbol, current_price, change, percent_change, high, low, open, previous_close, timestamp

FieldTypeDescription
symbolstringStock ticker symbol
current_pricenumberCurrent trading price
changenumberAbsolute price change
percent_changenumberPercentage price change
highnumberDay high price
lownumberDay low price
opennumberOpening price
previous_closenumberPrevious close price
timestampnumberQuote timestamp (Unix time)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Stock ticker symbol"
    },
    "current_price": {
      "type": "number",
      "description": "Current trading price"
    },
    "change": {
      "type": "number",
      "description": "Absolute price change"
    },
    "percent_change": {
      "type": "number",
      "description": "Percentage price change"
    },
    "high": {
      "type": "number",
      "description": "Day high price"
    },
    "low": {
      "type": "number",
      "description": "Day low price"
    },
    "open": {
      "type": "number",
      "description": "Opening price"
    },
    "previous_close": {
      "type": "number",
      "description": "Previous close price"
    },
    "timestamp": {
      "type": "number",
      "description": "Quote timestamp (Unix time)"
    }
  },
  "required": [
    "symbol",
    "current_price",
    "change",
    "percent_change",
    "high",
    "low",
    "open",
    "previous_close",
    "timestamp"
  ]
}

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