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. 22 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 22 tools organized into the following categories. All tools are read-only and non-destructive.

Market Data

  • marketData
  • historicalData
  • transaction
  • depths
  • supplyDemandLastMinutes
  • globalMarket

Technical Analysis

  • technicalIndicator
  • priceStatistics
  • stockScreener

Financial Statements

  • financialStatements
  • financialRatios
  • companyInfos

News & Research

  • news
  • economicCalendar
  • corporateActions
  • publicOffering
  • kapData

Broker & Settlement

  • brokerActivity
  • brokerDefinitions

Forecasts & Portfolio

  • analystData
  • symbolSearchFlex
  • skills

Privacy & Security

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

Support