stocks_get_chart

Gets historical price data for a stock symbol. Range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max.

SERVERLocal SOURCElocal-mcp
Low RISK CLASS
Category Read
Parameters 31 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/com-local-mcp-local-mcp/stocks-get-chart.md

What stocks_get_chart does on Local

AI agents call stocks_get_chart to retrieve information from Local without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
range string Time range (default: 1mo)
symbol string Yes Ticker symbol, e.g. AAPL
interval string Data interval (default: 1d). Intraday (1m–90m) needs a short range.

Parameters from the server's own tool schema.

Why stocks_get_chart is rated Low

This tool retrieves historical stock price information without creating, modifying, deleting, or executing any actions. It is a simple data query operation with no side effects or irreversible consequences. Even though it relates to financial markets, it does not move money, commit financial obligations, or execute trades—it only reads public market data.

From the tool's definition Tool description states 'Gets historical price data for a stock symbol' with no modification, deletion, or execution capabilities mentioned. The ranges specified (1d, 5d, 1mo, etc.) are query parameters for data retrieval only.

Questions about stocks_get_chart

What does the stocks_get_chart tool do? +

Gets historical price data for a stock symbol. Range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max. It is categorised as a Read tool in the Local MCP Server, which means it retrieves data without modifying state.

What parameters does stocks_get_chart accept? +

stocks_get_chart accepts 3 parameters: range, symbol, interval. Required: symbol. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on stocks_get_chart? +

Register the Local MCP server in PolicyLayer and add a rule for stocks_get_chart: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Local. Nothing to install.

What risk level is stocks_get_chart? +

stocks_get_chart is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit stocks_get_chart? +

Yes. Add a rate_limit block to the stocks_get_chart rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block stocks_get_chart completely? +

Set action: deny in the PolicyLayer policy for stocks_get_chart. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides stocks_get_chart? +

stocks_get_chart is provided by the Local MCP server (local-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Local, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Local's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.