MCP Avantage
MCP-Server für Alpha Vantage API (@missionsquad/avantage)
Dieses Projekt stellt einen Model Context Protocol (MCP)-Server bereit, der die @missionsquad/avantage -Bibliothek umschließt und Alpha Vantage API-Funktionen als Tools für Language Learning Models (LLMs) bereitstellt.
Überblick
Dieser Server ermöglicht LLMs die Interaktion mit der Alpha Vantage API, um Finanzdaten abzurufen, darunter:
Kernaktiendaten (Zeitreihen, Kurse, Suche)
Fundamentaldaten (Unternehmensübersicht, Finanzdaten, Kalender)
Forex (FX) Daten
Kryptowährungsdaten
Rohstoffdaten
Wirtschaftsindikatoren
Technische Indikatoren
Alpha Intelligence (Nachrichten, Stimmungen usw.)
Optionsdaten (Premium)
Es nutzt die TypeScript-Bibliothek @missionsquad/avantage und folgt der Architektur der generischen MCP-Servervorlage, einschließlich der Handhabung von API-Schlüsseln für mehrere Benutzer und der Ressourcenverwaltung für AVantage Clientinstanzen.
Hauptmerkmale:
Umfassende Abdeckung: Implementiert MCP-Tools für fast alle in der Bibliothek
@missionsquad/avantageverfügbaren Funktionen.Mehrbenutzerunterstützung: Verarbeitet Alpha Vantage-API-Schlüssel sicher über
extraArgs(bevorzugt) oder durch Fallback auf Umgebungsvariablen.Ressourcenverwaltung: Verwaltet
AVantageClientinstanzen effizient mithilfe desResourceManager.Stark typisiert: Erstellt mit TypeScript, nutzt Typen aus
@missionsquad/avantageund Zod-Schemas für Toolparameter.Standard-MCP-Schnittstelle: Verwendet
@missionsquad/fastmcpfür die MCP-Kommunikation.
Related MCP server: Zentickr - Yahoo Finance MCP Server
Erste Schritte
Voraussetzungen
Node.js v20 oder höher
npm oder yarn
Ein Alpha Vantage API-Schlüssel ( hier einen erhalten)
Aufstellen
Klonen oder Kopieren: Klonen Sie dieses Repository oder kopieren Sie die Dateien.
git clone <repository-url> mcp-avantage-server cd mcp-avantage-serverAbhängigkeiten installieren:
npm install # or yarn installUmgebung konfigurieren:
Kopieren Sie
.env.examplenach.env.Bearbeiten Sie
.envund setzen SieAPI_KEYauf Ihren Alpha Vantage API-Schlüssel.Legen Sie optional
AV_PREMIUM=true, wenn Sie ein Premium-Abonnement haben.Passen Sie
LOG_LEVELoderRESOURCE_CLEANUP_INTERVALbei Bedarf an.
Erstellen Sie das Projekt:
npm run build # or yarn buildStarten Sie den Server:
npm start # or yarn startDer Server wartet auf MCP-Anfragen auf stdio.
Authentifizierung
Der Server verwendet das Standardmuster zur Token-Behandlung mehrerer Benutzer:
extraArgs.apiKey(empfohlen): Übergeben Sie den benutzerspezifischen Alpha Vantage API-Schlüssel im FeldapiKeydesextraArgs-Objekts während der MCPcall_toolAnforderung. Dieser Schlüssel ist nicht Teil des Tool-Schemas..envFallback: WennextraArgs.apiKeynicht angegeben ist, verwendet der Server denAPI_KEY-Wert aus der.envDatei.
Verfügbare Tools
Dieser Server stellt zahlreiche Tools bereit, die den Methoden in der Bibliothek @missionsquad/avantage entsprechen. Die Tools werden im Allgemeinen als module_method bezeichnet (z. B. coreStock_intraday , fundamentalData_companyOverview ).
Weitere Informationen zu Parametern und Rückgabestrukturen finden Sie in der Alpha Vantage-Dokumentation und in den Typen der Bibliothek @missionsquad/avantage ( src/types/* innerhalb der Bibliothek).
Beispiel eines Tool-Aufrufs (konzeptionelle MCP-Anforderung):
{
"type": "call_tool",
"requestId": "req-123",
"tool": {
"name": "coreStock_quote",
"arguments": {
"symbol": "IBM"
}
},
"context": {
"extraArgs": {
"apiKey": "USER_SPECIFIC_AV_KEY" // Optional: User's key
}
}
}Werkzeugkategorien (Module):
alphaIntelligence_*commodities_*coreStock_*crypto_*economicIndicators_*forex_*fundamentalData_*optionsData_*(Premium)technicalIndicators_*
Verwenden Sie den MCP-Befehl list_tools , um die vollständige Liste der verfügbaren Tools, deren Beschreibungen und Parameterschemata abzurufen.
Konfiguration
Konfigurieren Sie über .env -Datei:
Variable | Beschreibung | Standard |
| Fallback-Alpha-Vantage-API-Schlüssel, wenn nicht in |
|
| Protokollierungsebene ( |
|
| Intervall (ms) zum Bereinigen inaktiver AVantage-Clientinstanzen |
|
| Auf |
|
Projektstruktur
Folgt der generischen MCP-Server-Vorlagenstruktur. Schlüsseldateien:
src/index.ts: Haupteinstiegspunkt des Servers, Tooldefinitionen.src/config.ts: Konfiguration wird geladen.src/logger.ts: Protokollierungsprogramm.src/resource-manager.ts: VerwaltetAVantageInstanzen.src/schemas.ts: Zod-Schemas für Toolparameter..nexus/: Nexus-Dokumentation.
Nexus-Dokumentation
Lizenz
MIT (Vorausgesetzt, die Vorlagenlizenz ist MIT. Überprüfen.)
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.12105MIT
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server providing comprehensive access to Yahoo Finance data through the yahooquery library, enabling AI assistants to retrieve stock prices, financial statements, market data, and company analytics.15MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that retrieves real-time financial and company data using the financialdatasets API. It provides a standardized interface for integrating financial data into agentic frameworks like Agno and Smol Agent.MIT
- AlicenseBqualityDmaintenanceThis is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.223MIT
Related MCP Connectors
Alpha Vantage MCP — Stock market data, fundamentals, and earnings
Live financial data MCP: FX, crypto, stocks, news, URL reader. x402 on Base: $0.001/call.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Appeared in Searches
- A server for finding scientific articles, creating ad ideas, and deploying Facebook ads
- A platform for live probability option trading with indicators across multiple markets
- A server for obtaining historical cryptocurrency market data
- A tool or service for checking cryptocurrency prices
- A tool for analyzing Indian stock data for investment decisions using LLMs and news insights
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MissionSquad/mcp-avantage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server