
matteoantoci/mcp-tiingo
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
An MCP server for Tiingo, providing tools to access financial data like stock prices, news, forex, and fundamentals programmatically via the Model Context Protocol.
개요
A Model Context Protocol (MCP) server that exposes various Tiingo API endpoints as tools. This server allows programmatic access to financial data including stock prices, news, forex, fundamentals, and corporate actions via the MCP protocol. - Node.js (v18 or later recommended) - npm (comes with Node.js) - A Tiingo API Key - MCP-compatible client or runner (e.g., VSCode extension, CLI) 3. To use this server, you need a Tiingo API token. 1. Register for a Tiingo account if you don't have one. 2. Go to your Tiingo Account page and navigate to the API Token section (or directly visit: https://www.tiingo.com/account/api/token). 3. Copy your API Token. You will need to provide this token to your MCP client to authenticate with the Tiingo API. Note: Programmatic registration or logins are not supported by Tiingo; the API token is the sole method for authentication. 4. This server requires your Tiingo API key.
README
원문 README의 일부입니다. 원문 보기.
MCP Tiingo Server
A Model Context Protocol (MCP) server that exposes various Tiingo API endpoints as tools. This server allows programmatic access to financial data including stock prices, news, forex, fundamentals, and corporate actions via the MCP protocol.
Prerequisites
- Node.js (v18 or later recommended)
- npm (comes with Node.js)
- A Tiingo API Key
- MCP-compatible client or runner (e.g., VSCode extension, CLI)
Setup
-
Clone the repository or ensure you are in the project directory.
-
Install dependencies:
npm install -
Obtain Your Tiingo API Key: To use this server, you need a Tiingo API token.
- Register for a Tiingo account if you don’t have one.
- Go to your Tiingo Account page and navigate to the API Token section (or directly visit: https://www.tiingo.com/account/api/token).
- Copy your API Token. You will need to provide this token to your MCP client to authenticate with the Tiingo API. Note: Programmatic registration or logins are not supported by Tiingo; the API token is the sole method for authentication.
-
Set Tiingo API Key: This server requires your Tiingo API key. You can typically provide the API key in your MCP client’s configuration (see “Running the Server” below for an example).
-
Build the server:
npm run buildThis will create a
builddirectory with the compiled JavaScript code.
Running the Server
- Via MCP runner:
Configure your MCP client to run the server using stdio transport. You can provide the
TIINGO_API_TOKENin theenvblock of the configuration. Example MCP settings entry:
(Replace"mcp-tiingo": { "transportType": "stdio", "command": "node", "args": [ "/path/to/mcp-tiingo/build/index.js" ], "env": { "TIINGO_API_TOKEN": "YOUR_API_KEY_HERE" } // ... other optional settings ... }/path/to/mcp-tiingoandYOUR_API_KEY_HEREaccordingly)
Available Tools
The server exposes the following Tiingo API endpoints as tools via MCP:
get_end_of_day_prices
- Description: Fetches End-of-Day prices for a given ticker symbol with optional date range and format.
- Key Inputs:
ticker,startDate,endDate,resampleFreq
get_news
- Description: Fetches news articles from Tiingo with various filtering options.
- Key Inputs:
tickers,tags,sources,startDate,endDate,limit
get_forex_prices
- Description: Fetches historical intraday Forex prices for a given ticker symbol with optional date range and frequency.
- Key Inputs:
ticker,startDate,endDate,resampleFreq
get_forex_top_of_book
- Description: Fetches real-time Forex Top-of-Book/Last data for one or more ticker symbols.
- Key Inputs:
tickerortickers
get_fundamentals_definitions
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →