Tcinvest
БесплатноНе проверенmcp server for tcinvest - a top stock platform in Vietnam
Описание
mcp server for tcinvest - a top stock platform in Vietnam
README
This project is a Model Context Protocol (MCP) server for TCInvest, designed to help users build LLM-powered applications with real-time and historical stock and bond data from the TCBS APIs. The goal is to enable users to interact with financial data using large language models (LLMs), similar to how DeepSeek operates in the Chinese stock market—using LLMs to replace traditional brokers and provide intelligent, automated investment support.
Purpose
- Enable seamless integration of LLMs (such as GPT, DeepSeek, etc.) with Vietnamese stock and bond data from TCBS.
- Allow users to query, analyze, and visualize financial data using natural language.
- Provide a foundation for building next-generation AI investment assistants and tools.
- Continuously expand features and API coverage to support more financial products and use cases.
Features
- Retrieve stock and bond data from the TCBS API
- Loads configuration from a
.envfile - Logs activity to
app.log - Designed for easy extension with new APIs and features
Project Structure
tcinvest_mcp_server/
__init__.py
__main__.py
constant.py
requirements.txt
server.py
api/
__init__.py
client.py # API client for TCBS endpoints
services/ # Business logic for tcinvest api will be added here
__init__.py
bond_trading.py
...
.env # Environment variables (API key, base URL)
app.log # Log file
PYTHON_SDK_README.md
llms-full.txt
README.md
Getting Started
Installation
Install from PyPI
To install the package directly from PyPI, run:
pip install tcinvest-mcp-server
Install from Source
Alternatively, clone the repository and install the dependencies manually:
git clone https://github.com/hoangWiki/tcinvest_mcp_server.git
cd tcinvest_mcp_server
pip install -r requirements.txt
Configuration
Set up your environment by copying the .env file and adding your TCBS_API_KEY:
TCBS_API_KEY=your_api_key_here
Running the Server
If installed from PyPI, you can start the server using:
python -m tcinvest_mcp_server --env path/to/your/.env
Or:
tcinvest-mcp-server --env path/to/your/.env
If installed from source, run:
python -m tcinvest_mcp_server --env path/to/your/.env
MCP Client Setup - VsCode for example
To configure the MCP client, use the following JSON structure:
{
"servers": {
"tcinvest": {
"url": "http://localhost:8000/sse",
"type": "sse"
}
}
}
url: The endpoint for the TCInvest server. Replacehttp://localhost:8000/ssewith the actual server URL if different.type: The connection type. For TCInvest, this is set tosse(Server-Sent Events).- Ensure the server is running and accessible at the specified URL before using the client.
Usage
- The server exposes MCP tools for bond data retrieval.
- Logs are written to
app.log.
Roadmap
- Add more TCBS API endpoints for stocks, funds, and other financial products
- Community contributions and feature requests welcome!
Disclaimer
See disclaim.md for important legal and usage information.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Установка Tcinvest
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/hoangWiki/tcinvest_mcp_serverFAQ
Tcinvest MCP бесплатный?
Да, Tcinvest MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Tcinvest?
Нет, Tcinvest работает без API-ключей и переменных окружения.
Tcinvest — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Tcinvest в Claude Desktop, Claude Code или Cursor?
Открой Tcinvest на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Tcinvest with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
