stocks_get_quote
Gets current stock price and market data for one or more symbols (e.g. AAPL, MSFT, BTC-USD). Uses Yahoo Finance — no API key required.
This record as markdown: /tools/com-local-mcp-local-mcp/stocks-get-quote.md
What stocks_get_quote does on Local
AI agents call stocks_get_quote 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | string | Yes | Ticker symbols, comma-separated ('AAPL,MSFT,GOOGL') or a JSON array (['AAPL','MSFT']) |
Parameters from the server's own tool schema.
Why stocks_get_quote is rated Low
This tool retrieves public market data without side effects. It does not execute trades, modify accounts, delete data, or run arbitrary code. While the data relates to financial markets, the tool itself performs no financial operation (no Financial category applies). It is a straightforward read operation with minimal risk if misused—an AI agent could only obtain publicly available stock quotes.
From the tool's definition Tool name 'stocks_get_quote' and description 'Gets current stock price and market data' indicate data retrieval with no modification, deletion, or financial transactions. The action is purely observational—querying market data from Yahoo Finance.
Attacks that exploit this kind of access
The rule that runs stocks_get_quote safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Local, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For stocks_get_quote, this is the rule to start with:
stocks_get_quote is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Local, apply this rule, and every stocks_get_quote call is checked against it from then on.
Questions about stocks_get_quote
Gets current stock price and market data for one or more symbols (e.g. AAPL, MSFT, BTC-USD). Uses Yahoo Finance — no API key required. It is categorised as a Read tool in the Local MCP Server, which means it retrieves data without modifying state.
stocks_get_quote accepts 1 parameter: symbols. Required: symbols. The full parameter table on this page comes from the server's own tool schema.
Register the Local MCP server in PolicyLayer and add a rule for stocks_get_quote: 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.
stocks_get_quote is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the stocks_get_quote 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.
Set action: deny in the PolicyLayer policy for stocks_get_quote. 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.
stocks_get_quote 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.
This server
Across the catalogue