T-Invest MCP Server is an MCP server that connects Model Context Protocol clients to the T-Invest REST API to access investment accounts, portfolio holdings, and company fundamentals. Built as a PHP console application using Symfony and the logiscape mcp-sdk-php library, the server bridges large language models with financial services hosted on the T-Bank investment platform. Individual investors, financial analysts, and developers use this server to query their brokerage accounts and analyze equity performance directly through AI assistants. Once configured, the server provides tools to list all active investment accounts, inspect portfolio holdings with optional ticker filtering, and retrieve fundamental indicators for specific companies. By running either locally using PHP 8.3 and Composer or as a container via Docker and Podman, it supports routine portfolio monitoring, position auditing, and asset research inside conversational workflows. The server also supports both the production T-Invest endpoint and the developer sandbox environment for safe verification.
Category: Finance, Crypto & Payments
Tags: finance, investing, stocks, t-invest, trading
claude_desktop_config.json): json { "mcpServers": { "t-invest": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "APP_T_INVEST_BASE_URL", "-e", "APP_T_INVEST_TOKEN", "-e", "APP_T_INVEST_ACCOUNT_ID", "prikotov/t-invest-mcp-server:latest", "bin/server" ], "env": { "APP_T_INVEST_BASE_URL": "https://invest-public-api.tinkoff.ru/rest/", "APP_T_INVEST_TOKEN": "<YOUR_TOKEN>", "APP_T_INVEST_ACCOUNT_ID": "<YOUR_ACCOUNT_ID>" } } } } 4. For testing purposes, you can replace the APP_T_INVEST_BASE_URL with the sandbox URL: https://sandbox-invest-public-api.tinkoff.ru/rest/. 5. Restart your MCP client to load the tools.Part of MCP Servers
T-Invest MCP Server is a Model Context Protocol server developed with PHP and Symfony that interfaces with the T-Invest REST API. It allows AI assistants like Claude Desktop to fetch user accounts, examine current investment portfolios, and retrieve financial fundamentals for specific tickers.
The server exposes three core tools: get_accounts to list user investment accounts, get_portfolio to retrieve the client portfolio with optional ticker filtering, and get_asset_fundamentals to inspect company financial indicators for specified stock tickers.
To run it locally, clone the repository, install dependencies using Composer, and execute the server via bin/server or php bin/console app:mcp-server. You must provide PHP 8.3 or higher along with the required environment variables for the T-Invest API URL, token, and account ID.
Yes. T-Invest MCP Server supports both the live production API and the sandbox API. To use the sandbox, set the APP_T_INVEST_BASE_URL environment variable to https://sandbox-invest-public-api.tinkoff.ru/rest/ and provide your sandbox token.
Yes, T-Invest MCP Server is open source and distributed under the terms of the MIT license. You can view the source code, open issues, and inspect the license file directly on the project's GitHub repository.