markets_history

markets_history

Read daily closing prices for a supported instrument over a range of up to 366 days. Missing trading days are omitted. Uses Yahoo Finance

Free. This one only touches this instance's own storage, so there is nothing to charge for.

Runs on Markets — Track prices and convert currencies.

Arguments

NameTypeWhat it is
offsetnumber
limitnumberMaximum points per page, default 20, maximum 100
symbol*stringSupported ticker, e.g. BTC, AAPL, GOLD or EUR
startstringFirst date, YYYY-MM-DD; default 30 days ago
endstringLast date inclusive, YYYY-MM-DD; default today. Maximum range 366 days

Calling it

Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.

{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"symbol":"symbol"},"name":"markets_history"}}

Try it in the playground.