JesusRS1 GitHub avatar

stock-trade-finance-api

JesusRS1

An MCP server that wraps Tiingo API endpoints to provide financial data tools including stock prices, news, forex, fundamentals, and corporate actions.

Stars

142

7-day growth

No data

Forks

1,114

Open issues

1

License

NOASSERTION

Last updated

2026-07-14

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It bridges the Model Context Protocol with a robust financial data API, enabling programmatic access to diverse market data through a standardized tool interface.

Who it is for

  • Developers building MCP-compatible financial applications
  • Quantitative analysts needing automated data retrieval
  • Trading system integrators
  • Financial data scientists

Use cases

  • Fetching historical end-of-day stock prices for backtesting
  • Retrieving real-time forex top-of-book data for monitoring
  • Accessing fundamental statements and daily metrics for research
  • Obtaining dividend and split histories for portfolio management

Strengths

  • Exposes a wide range of Tiingo API endpoints as ready-to-use MCP tools
  • Simple setup with npm install and environment variable configuration
  • Extensible architecture via adding new tool files to src/tools/
  • Supports both historical and real-time data across multiple asset classes

Considerations

  • Requires a Tiingo account and API key; no free tier mentioned
  • Only provides data available through Tiingo, not other sources
  • Dependent on external API availability and rate limits

README quick start

Stock Trade MCP 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

  1. Clone the repository or ensure you are in the project directory.

  2. Install dependencies:

    npm install
    
  3. Obtain Your Tiingo API Key: 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. 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).

  5. Build the server:

    npm run build
    

    This will create a build directory 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_TOKEN in the env block of the configuration. Example MCP settings entry:
    "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 ...
    }
    
    (Replace /path/to/mcp-tiingo and YOUR_API_KEY_HERE accordingly)

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

  • **Descr

Description

Stock Trade MCP server in Tiingo with stock prices, news, forex, and fundamentals programmatically via the MCP

Related repositories

Similar projects matched by category, topics, and programming language.

OneInterface
Featured
OneInterface GitHub avatar

stormy-cookbook

Stormy Cookbook provides copy-pasteable recipes for using the Stormy Social Data API and MCP server, which offers a unified REST API and MCP tools to search profiles, posts, and emails across TikTok, YouTube, Instagram, LinkedIn, X, and Reddit through a single HTTP contract.

AI & Machine LearningLarge Language Models
72
0xwilliamortiz
Featured
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI & Machine LearningLarge Language Models
577
TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861