Yahoo Finance MCP Server
股票報價、選擇權鏈、盈餘數據與財務報表
文件
Yahoo Finance MCP Server — Quotes & Compare for AI Agents (nexgendata/yahoo-finance-mcp-server) Actor
MCP server exposing Yahoo Finance stock quotes and multi-ticker comparison as agent tools. Connect Claude, Cursor, or the OpenAI Agents SDK.
- URL: https://apify.com/nexgendata/yahoo-finance-mcp-server.md
- Developed by: NexGenData (community)
- Categories: AI, Automation, MCP servers
- Stats: 24 total users, 5 monthly users, 100.0% runs succeeded, 2 bookmarks
- User rating: No ratings yet
Pricing
from $20.00 / 1,000 tool calls
This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.
For examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
Yahoo Finance MCP Server
A Model Context Protocol server that lets AI agents pull Yahoo Finance quotes and compare tickers as callable tools. For finance-agent and assistant builders.
📊 Sample Output
status | message | server_url | apify_url | transport | tools |
|---|---|---|---|---|---|
| MCP Server Running | This is an MCP server, not a scraper. It does not produce results whe… | https://nexgendata--yahoo-finance-mcp-server.apify.actor/mcp | https://apify.com/nexgendata/yahoo-finance-mcp-server | streamable-http | ['get_stock_quote', 'get_multiple_quotes', 'compare_stocks'] |
Real rows from run X7EDlmB7SsgD7p3Hu on build 0.0.19 (2026-09-04), unedited apart from masked emails/phones and shortened long text; fields the source does not publish are empty.
🔧 Input reference
| Field | Type | Default | What it does |
|---|---|---|---|
enableServer (required) | boolean | true | Enable MCP server mode |
port | integer | 5000 | Port for MCP server |
🧾 JSON sample record
One real record from run X7EDlmB7SsgD7p3Hu (emails/phones masked, long text shortened):
{
"status": "MCP Server Running",
"message": "This is an MCP server, not a scraper. It does not produce results when run directly.",
"how_to_connect": "Connect from an MCP-compatible AI client (Claude Desktop, Cursor, Windsurf, etc.)",
"server_url": "https://nexgendata--yahoo-finance-mcp-server.apify.actor/mcp",
"apify_url": "https://apify.com/nexgendata/yahoo-finance-mcp-server",
"documentation": "See the README for setup instructions and example configurations.",
"transport": "streamable-http",
"endpoint": "/mcp",
"tools": [
"get_stock_quote",
"get_multiple_quotes",
"compare_stocks"
]
}
💰 Pricing
| Event | Price (USD) | When it is charged |
|---|---|---|
Actor Start (apify-actor-start) | $5e-05 | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
Tool call (tool-call) | $0.02 | Per-tool invocation via MCP Standby |
Pay-per-event: you pay only for what the run delivers. A run that delivers nothing bills no result events (only the actor-start event, when the actor defines one). Example: a run that delivers 100 results costs 100 × $0.02 = $2.00 plus the start fee.
🔗 Related Actors
More from the NexGenData MCP servers for AI agents family:
- Travel MCP — Airbnb, Hotels & TripAdvisor for AI Agents
- Weather MCP — Current Conditions & Forecast for Agents
- Web Scraping MCP — Crawl, Search & Wikipedia for Agents
- YouTube & Media MCP — Transcripts & IMDb for AI Agents
31 more in this family on the NexGenData Store page.
🛠 Tools (3)
get_stock_quote— Live quote for a single ticker.get_multiple_quotes— Quotes for several tickers at once.compare_stocks— Side-by-side comparison of multiple tickers.
🔌 Connect (Claude Desktop / Cursor / n8n / OpenAI Agents SDK)
Add this MCP server to your client config:
{
"mcpServers": {
"yahoo-finance": {
"url": "https://nexgendata--yahoo-finance-mcp-server.apify.actor/mcp"
}
}
}
Sample agent prompt:
Compare AAPL, MSFT and NVDA on price and market cap.
Pricing: $0.02 per tool call (Pay-Per-Event). Runs in Standby mode.
Related NexGenData MCP Servers & Actors
| Use case | Actor |
|---|---|
| Crypto & DeFi MCP (TVL, stablecoins, prediction markets) | crypto-defi-mcp |
| Global equities screener MCP (26 markets) | global-equities-screener-mcp |
| News + headlines MCP | news-mcp-server |
| Multi-server MCP gateway | enterprise-mcp-gateway |
| Direct Yahoo Finance scraper (no MCP) | yahoo-finance-scraper |
How NexGenData Pricing Works
Every NexGenData actor uses pay-per-event pricing — you only pay for results that land in your dataset or per MCP tool call. No monthly minimum, no seat fees.
- Actor Start: a single-event charge each time the actor spins up.
- Tool call: charged per MCP tool call.
- No charge for retries or internal proxy rotation — absorbed by the platform.
Support
NexGenData ships updates regularly. Bug reports via the Apify console issues tab get a response within 24 hours.
Home: thenextgennexus.com Full catalog: apify.com/nexgendata
Actor input Schema
Actor input object example
{}
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {};
// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/yahoo-finance-mcp-server").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {}
# Run the Actor and wait for it to finish
run = client.actor("nexgendata/yahoo-finance-mcp-server").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{}' |
apify call nexgendata/yahoo-finance-mcp-server --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,nexgendata/yahoo-finance-mcp-server"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/zkY3vlcJ2mIARugRl/builds/QBQR6SqpkQI0dB9iR/openapi.json