explaingit

jesusrs1/stock-trade-finance-api

Analysis updated 2026-05-18

142TypeScriptAudience · developerComplexity · 2/5Setup · moderate

TLDR

An MCP server that exposes Tiingo's stock prices, news, forex, and company fundamentals as callable tools so AI assistants and clients can pull financial data programmatically.

Mindmap

mindmap
  root((stock-trade-finance-api))
    What it does
      MCP server
      Wraps Tiingo API
      Financial data tools
    Tech stack
      TypeScript
      Node.js
      MCP protocol
    Use cases
      Stock prices
      Company fundamentals
      Forex rates
      News lookup
    Audience
      Developers
      AI assistant builders
    Setup
      Requires Tiingo API key
      npm install and build

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Connect an AI coding assistant to real stock prices, news, and fundamentals through the MCP protocol.

USE CASE 2

Fetch a company's balance sheet, income statement, and cash flow history for a given ticker.

USE CASE 3

Pull historical and real-time foreign exchange prices for currency pairs.

USE CASE 4

Extend the server with new tools for additional Tiingo API endpoints as they're needed.

What is it built with?

TypeScriptNode.jsMCPTiingo APIZod

How does it compare?

jesusrs1/stock-trade-finance-apiagutinbaigo28/trading-backtest-kitalinebm17/finance-api-tool
Stars142142142
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity2/54/52/5
Audiencedeveloperdeveloperdata

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Tiingo API account and token, obtained manually since there is no programmatic signup.

License terms are not stated in the README, so usage rights are unclear.

In plain English

This project is a server that follows the Model Context Protocol, or MCP, a standard that lets AI assistants and other tools call external functions in a structured way. Here, the server exposes financial data from Tiingo, a market data provider, as a set of callable tools, so any MCP-compatible client such as an AI coding assistant can pull stock prices, news, foreign exchange rates, and company fundamentals without the developer writing custom API integration code. The available tools cover getting end-of-day stock prices for a ticker, fetching filtered news articles, retrieving historical and real-time foreign exchange prices, and pulling company fundamentals such as balance sheets, income statements, cash flow statements, dividend history, dividend yield, and stock split history. Each tool accepts inputs like a ticker symbol, a date range, and other filters specific to that data type. To use it, a developer needs Node.js version 18 or later and a Tiingo API account, since a Tiingo API token is required to authenticate requests. There is no way to sign up for Tiingo programmatically, so the token has to be obtained manually from the Tiingo website. Setup involves installing dependencies with npm, building the TypeScript source into JavaScript, and then configuring an MCP client to launch the server and pass in the API token as an environment variable. The project is also built to be extended: adding support for a new Tiingo endpoint means writing a new tool file that defines its name, description, and input rules, then registering it in a central list before rebuilding. This makes it a starting point for developers who want to give AI assistants access to real financial market data.

Copy-paste prompts

Prompt 1
Show me how to configure an MCP client to run this Tiingo server with my API token as an environment variable.
Prompt 2
Write a new MCP tool for this server that fetches Tiingo's real-time stock quote endpoint.
Prompt 3
Explain what inputs the get_fundamentals_statements tool expects and what data it returns.
Prompt 4
How do I get and set up a Tiingo API key to authenticate with this server?

Frequently asked questions

What is stock-trade-finance-api?

An MCP server that exposes Tiingo's stock prices, news, forex, and company fundamentals as callable tools so AI assistants and clients can pull financial data programmatically.

What language is stock-trade-finance-api written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, MCP.

What license does stock-trade-finance-api use?

License terms are not stated in the README, so usage rights are unclear.

How hard is stock-trade-finance-api to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is stock-trade-finance-api for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.