ForInvest MCP Server

Access real-time and historical financial data for BIST (Borsa İstanbul) and global markets directly from Claude, Cursor, and any MCP-compatible AI application. 60 tools covering market data, financials, technical analysis, news, broker data, and more.

A ForInvest account is required. Create a free account →

Quick Start

Connect to ForInvest MCP Server using the following URL with any MCP-compatible client:

https://mcp.forinvest.com/mcp

Transport

PropertyValue
ProtocolMCP (Model Context Protocol)
TransportStreamableHTTP
Endpointhttps://mcp.forinvest.com/mcp
AuthenticationOAuth 2.0 + PKCE
Session TTL30 minutes (auto-renewed)

Authentication

ForInvest MCP Server uses OAuth 2.0 Authorization Code flow with PKCE (RFC 7636). Most MCP clients handle this automatically — you just enter your ForInvest username and password when prompted.

OAuth 2.0 Flow

  1. Client discovers endpoints via /.well-known/oauth-authorization-server
  2. Client registers dynamically via /oauth/register (RFC 7591)
  3. Client redirects to /authorize with PKCE code challenge (S256)
  4. User authenticates with ForInvest credentials on the login page
  5. Authorization code returned to client redirect URI
  6. Client exchanges code + code_verifier at /oauth/token
  7. Server returns access token (Bearer) valid for 1 hour
You don't need to implement OAuth manually. MCP clients like Claude Desktop and Cursor handle the entire flow — just click “Connect” and enter your credentials.

Claude Desktop Setup

  1. Open Claude Desktop → Settings
  2. Go to Connectors → click Add custom connector
  3. Enter name: ForInvest MCP and URL: https://mcp.forinvest.com/mcp
  4. Click Connect — a browser window opens for authentication
  5. Enter your ForInvest username and password
  6. Done! Ask Claude any financial question and it will use ForInvest tools

Claude Code Setup

Add ForInvest MCP Server with a single terminal command:

claude mcp add forinvest --transport http https://mcp.forinvest.com/mcp

Cursor Setup

  1. Open Cursor → SettingsMCP
  2. Click Add new MCP server
  3. Select type: StreamableHTTP
  4. Enter URL: https://mcp.forinvest.com/mcp
  5. Authenticate with your ForInvest credentials when prompted

JSON Configuration

For any MCP client that supports JSON configuration:

{ "mcpServers": { "forinvest": { "url": "https://mcp.forinvest.com/mcp" } } }

Tool Reference

ForInvest MCP Server provides 60 tools organized into the following categories. All tools are read-only and non-destructive.

Market Data

  • Real-Time Market Data
  • Historical Data (Date Range)
  • Historical Data (Last N)
  • Intraday Data
  • Latest Tick Data
  • Order Book Depth
  • Supply & Demand
  • Liquidity Data
  • Change Statistics
  • Market Statistics

Technical Analysis

  • Indicator (Date Range)
  • Indicator (Last N)
  • Price Analysis
  • Heat Map
  • Price Chart
  • Technical Chart
  • Stock Screener

Financial Statements

  • Balance Sheets
  • Income Statements
  • Cash Flow Statements
  • Last Quarter Ratios
  • Quarter Ratio Multi
  • Fundamental Analysis
  • Statement Dates

News & Research

  • Market News
  • Stock Analysis
  • Economic Calendar
  • Market Holidays

Broker & Settlement

  • Settlement at Date
  • Latest Settlement
  • Settlement Ratio Top/Bottom
  • Short Sales Aggregate
  • Investor Distribution
  • Transaction Data
  • Broker Definitions

Forecasts & Portfolio

  • Forecast Averages
  • Forecast by Broker/Symbol
  • Forecast History
  • Portfolio Averages
  • Portfolio by Broker/Symbol
  • Portfolio Updates

Privacy & Security

See our full Privacy Policy and KVKK Aydınlatma Metni for details.

Support