Discovery
Stock Price (as-of date)
get_stock_pricePro and above
End-of-day closing price for a company AS OF any calendar date. Pass `date` to get the close on that day; if the date falls on a weekend or market holiday, it resolves backward to the most recent prior trading day's close (the `price_date` field tells you which day was actuall...
Example Call
example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)# Or call directly from Claude / Cursor after setup result = await client.call_tool( "get_stock_price", arguments={ "ticker": "EXAMPLE"})print(result)Direct tool call:get_stock_price(...)
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker | string | required | Stock ticker symbol, e.g. AAPL, MSFT — or a CIK (SEC identifier), e.g. '0000320193'. |
date | string | optional | As-of calendar date (YYYY-MM-DD). Returns the close of the most recent trading day on or before this date — a weekend/holiday resolves to the prior trading close. Omit to get the latest available close. |
Output Fields
tickerplancikcompany_namerequested_dateprice_dateclosecurrencyis_exact_date_matchresolved_backwarddiv_cashsplit_factortotal_return_indexgranularitynoteExample Response
Illustrative
response.jsonjson
{ "ticker": "AAPL", "plan": "sp500", "cik": "0000320193", "company_name": "Apple Inc.", "requested_date": null, "price_date": 394328000000, "close": null, "currency": null}Shape only — field names match the live schema; values are placeholders, not real filings. See MCP server for the structured response shape.
Notes
Available from the Pro plan and above.
Plan Access
Sample (guest)
Not includedBenchmark (token)
Not includedPro
AvailableInstitutional
AvailableRelated Tools
Index names are trademarks of their owners; Valuein is not affiliated with or endorsed by any index provider.