MCP Avantage
Alpha Vantage API 用の MCP サーバー (@missionsquad/avantage)
このプロジェクトは、 @missionsquad/avantageライブラリをラップするモデル コンテキスト プロトコル (MCP) サーバーを提供し、Alpha Vantage API 機能を言語学習モデル (LLM) のツールとして公開します。
概要
このサーバーにより、LLM は Alpha Vantage API と対話して、次のような財務データを取得できます。
コア株価データ(時系列、株価、検索)
基礎データ(会社概要、財務状況、カレンダー)
外国為替(FX)データ
暗号通貨データ
商品データ
経済指標
テクニカル指標
アルファインテリジェンス(ニュース、感情など)
オプションデータ(プレミアム)
これは@missionsquad/avantage TypeScript ライブラリを活用し、マルチユーザー API キーの処理やAVantageクライアント インスタンスのリソース管理など、汎用 MCP サーバー テンプレートのアーキテクチャに従います。
主な機能:
包括的なカバレッジ:
@missionsquad/avantageライブラリで利用可能なほぼすべての機能に対して MCP ツールを実装します。マルチユーザー サポート:
extraArgs(推奨) または環境変数へのフォールバックを介して Alpha Vantage API キーを安全に処理します。リソース管理:
ResourceManagerを使用してAVantageクライアント インスタンスを効率的に管理します。厳密に型指定: TypeScript を使用して構築され、ツール パラメータには
@missionsquad/avantageの型と Zod スキーマが活用されています。標準 MCP インターフェイス: MCP 通信に
@missionsquad/fastmcp使用します。
Related MCP server: Zentickr - Yahoo Finance MCP Server
はじめる
前提条件
Node.js v20以降
npmまたはyarn
Alpha Vantage API キー (こちらから取得)
設定
**複製またはコピー:**このリポジトリを複製するか、ファイルをコピーします。
git clone <repository-url> mcp-avantage-server cd mcp-avantage-server依存関係をインストールします:
npm install # or yarn install環境を構成する:
.env.exampleを.envにコピーします。.envを編集し、API_KEYAlpha Vantage API キーに設定します。プレミアム サブスクリプションをお持ちの場合は、オプションで
AV_PREMIUM=trueを設定します。必要に応じて、
LOG_LEVELまたはRESOURCE_CLEANUP_INTERVALを調整します。
プロジェクトをビルドします。
npm run build # or yarn buildサーバーを起動します。
npm start # or yarn startサーバーは stdio で MCP 要求をリッスンします。
認証
サーバーは標準のマルチユーザー トークン処理パターンを使用します。
extraArgs.apiKey(推奨): MCPcall_toolリクエスト時に、extraArgsオブジェクトのapiKeyフィールドにユーザー固有の Alpha Vantage API キーを渡します。このキーはツールのスキーマの一部ではありません。.envフォールバック:extraArgs.apiKeyが指定されていない場合、サーバーは.envファイルのAPI_KEY値を使用します。
利用可能なツール
このサーバーは@missionsquad/avantageライブラリのメソッドに対応する多数のツールを公開しています。ツールは通常、 module_methodという名前が付けられます(例: coreStock_intraday 、 fundamentalData_companyOverview )。
パラメータと戻り構造の詳細については、 Alpha Vantage のドキュメントと@missionsquad/avantageライブラリの型 (ライブラリ内のsrc/types/* ) を参照してください。
ツール呼び出しの例 (概念的な MCP リクエスト):
{
"type": "call_tool",
"requestId": "req-123",
"tool": {
"name": "coreStock_quote",
"arguments": {
"symbol": "IBM"
}
},
"context": {
"extraArgs": {
"apiKey": "USER_SPECIFIC_AV_KEY" // Optional: User's key
}
}
}ツールカテゴリ(モジュール):
alphaIntelligence_*commodities_*coreStock_*crypto_*economicIndicators_*forex_*fundamentalData_*optionsData_*(プレミアム)technicalIndicators_*
使用可能なツール、その説明、およびパラメータ スキーマの完全なリストを取得するには、MCP list_toolsコマンドを使用します。
構成
.envファイルで設定します:
変数 | 説明 | デフォルト |
|
|
|
| ログレベル( |
|
| 非アクティブな AVantage クライアントインスタンスをクリーンアップする間隔 (ミリ秒) |
|
| プレミアムエンドポイントアクセスを |
|
プロジェクト構造
汎用MCPサーバーテンプレートの構造に従います。主要ファイル:
src/index.ts: メイン サーバーのエントリ ポイント、ツールの定義。src/config.ts: 構成の読み込み。src/logger.ts: ログ記録ユーティリティ。src/resource-manager.ts:AVantageインスタンスを管理します。src/schemas.ts: ツールパラメータの Zod スキーマ。.nexus/: Nexus のドキュメント。
Nexus ドキュメント
ライセンス
MIT (テンプレートのライセンスが MIT であると仮定します。確認してください。)
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