VN Stock API MCP Server
Allows cloning and installing the MCP server from a GitHub repository.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@VN Stock API MCP Serverget the real-time price for VIC stock"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VN Stock API MCP Server
MCP server để tìm kiếm và truy cập API từ các công ty chứng khoán Việt Nam: VNDirect, FireAnt, và SSI.
Tính năng
Tìm kiếm API documentation từ VNDirect, FireAnt, và SSI
Lấy thông tin về API endpoints
Truy cập documentation URLs
Lấy giá cổ phiếu real-time từ FireAnt (get_stock_price_fireant)
Liệt kê tất cả mã cổ phiếu Việt Nam (list_vn_stocks) - tương tự list_assets trong coincap-mcp
Lấy tin tức thị trường chứng khoán từ CafeF (get_cafef_market_news) - sử dụng Firecrawl API để scrape tin tức
Phân tích mô hình nến Doji (analyze_doji_pattern) - phân tích kỹ thuật để phát hiện tín hiệu đảo chiều
Related MCP server: VNStock MCP Server
Cài đặt
Cách 1: Clone từ GitHub (Khuyến nghị)
# Clone repository
git clone https://github.com/Long0308/vn-stock-api-mcp.git
cd vn-stock-api-mcp
# Cài đặt dependencies và build
npm install
npm run buildCách 2: Sử dụng trực tiếp từ GitHub (đã có sẵn dist/)
Nếu bạn chỉ muốn sử dụng mà không cần phát triển, bạn có thể clone và sử dụng trực tiếp:
# Clone repository
git clone https://github.com/Long0308/vn-stock-api-mcp.git
cd vn-stock-api-mcp
# Chỉ cần cài đặt dependencies (dist/ đã có sẵn)
npm installCấu hình trong mcp.json
Cấu hình với đường dẫn local (sau khi clone)
Cấu hình cơ bản (không có Firecrawl API):
{
"mcpServers": {
"vn-stock-api-mcp": {
"command": "node",
"args": [
"C:\\path\\to\\vn-stock-api-mcp\\dist\\index.js"
]
}
}
}Cấu hình đầy đủ (có Firecrawl API để sử dụng tính năng get_cafef_market_news):
{
"mcpServers": {
"vn-stock-api-mcp": {
"command": "node",
"args": [
"C:\\path\\to\\vn-stock-api-mcp\\dist\\index.js"
],
"env": {
"FIRECRAWL_API_KEY": "your-firecrawl-api-key-here"
}
}
}
}Cấu hình với đường dẫn tương đối
{
"mcpServers": {
"vn-stock-api-mcp": {
"command": "node",
"args": [
"~/vn-stock-api-mcp/dist/index.js"
],
"env": {
"FIRECRAWL_API_KEY": "your-firecrawl-api-key-here"
}
}
}
}Lưu ý:
Thay
C:\\path\\to\\vn-stock-api-mcphoặc~/vn-stock-api-mcpbằng đường dẫn thực tế đến thư mục bạn đã clone.Thay
"your-firecrawl-api-key-here"bằng API key thực tế của bạn từ firecrawl.dev (chỉ cần nếu muốn sử dụng tính năngget_cafef_market_news).Nếu không có Firecrawl API key, các tool khác vẫn hoạt động bình thường, chỉ có
get_cafef_market_newssẽ sử dụng phương pháp fallback.
Tools có sẵn
1. search_vn_stock_api
Tìm kiếm API documentation từ các nhà cung cấp.
Parameters:
provider: "vndirect" | "fireant" | "ssi" | "all"query(optional): Từ khóa tìm kiếm
2. get_api_endpoints
Lấy danh sách API endpoints cho một nhà cung cấp.
Parameters:
provider: "vndirect" | "fireant" | "ssi"category(optional): Lọc theo category
3. get_api_documentation_urls
Lấy URLs của API documentation.
Parameters:
provider: "vndirect" | "fireant" | "ssi" | "all"
4. get_stock_price_fireant
Lấy giá cổ phiếu real-time từ FireAnt API. Hỗ trợ lấy giá cho một hoặc nhiều mã cổ phiếu cùng lúc.
Parameters:
symbol: Mã cổ phiếu (ví dụ: "VIC", "VNM", "VCB"). Có thể truyền nhiều mã cách nhau bằng dấu phẩy (ví dụ: "VIC,VNM,VCB")
Ví dụ sử dụng:
{
"symbol": "VIC"
}hoặc nhiều mã:
{
"symbol": "VIC,VNM,VCB"
}Lưu ý:
FireAnt API có thể yêu cầu authentication. Nếu API không hoạt động, tool sẽ cung cấp URL web để truy cập thông tin trên FireAnt website.
Để lấy dữ liệu real-time tốt hơn, có thể sử dụng kết hợp với Firecrawl MCP server để scrape từ website FireAnt.
5. list_vn_stocks
Liệt kê tất cả các mã cổ phiếu Việt Nam có sẵn. Tương tự như list_assets trong coincap-mcp, tool này trả về danh sách đầy đủ các mã cổ phiếu được giao dịch trên các sàn chứng khoán Việt Nam (HOSE, HNX, UPCOM).
Parameters:
exchange(optional): Lọc theo sàn giao dịch - "HOSE" (Sàn Hồ Chí Minh), "HNX" (Sàn Hà Nội), "UPCOM" (Thị trường UPCOM), hoặc "all" để lấy tất cả (mặc định: "all")search(optional): Từ khóa tìm kiếm để lọc theo mã cổ phiếu hoặc tên công ty
Ví dụ sử dụng:
Liệt kê tất cả mã cổ phiếu:
{}Lọc theo sàn HOSE:
{
"exchange": "HOSE"
}Tìm kiếm mã cổ phiếu:
{
"search": "VIC"
}Kết hợp filter và search:
{
"exchange": "HOSE",
"search": "bank"
}Lưu ý:
Tool sẽ cố gắng lấy danh sách từ FireAnt API trước, nếu không thành công sẽ sử dụng danh sách tĩnh các mã cổ phiếu phổ biến.
Danh sách bao gồm các mã cổ phiếu lớn và phổ biến trên thị trường Việt Nam.
Để lấy thông tin chi tiết và giá real-time, sử dụng
get_stock_price_fireantvới mã cổ phiếu cụ thể.
6. get_cafef_market_news
Lấy tin tức thị trường chứng khoán mới nhất từ CafeF (cafef.vn). Tool này sử dụng Firecrawl API để scrape và trả về tin tức, phân tích, và cập nhật thị trường từ trang tin tài chính hàng đầu Việt Nam.
Parameters:
limit(optional): Số lượng bài viết tối đa cần trả về (mặc định: 20, tối đa: 100)search(optional): Từ khóa tìm kiếm để lọc tin tức (ví dụ: "VIC", "VN-Index", "ngân hàng")format(optional): Định dạng đầu ra - "markdown" (văn bản có định dạng), "json" (dữ liệu có cấu trúc), hoặc "text" (văn bản thuần). Mặc định: "markdown"
Ví dụ sử dụng:
Lấy 20 tin tức mới nhất:
{}Lấy 10 tin tức về VIC:
{
"limit": 10,
"search": "VIC"
}Lấy tin tức dạng JSON:
{
"limit": 20,
"format": "json"
}Tìm kiếm tin tức về ngân hàng:
{
"search": "ngân hàng",
"limit": 15
}Lưu ý:
Tool sử dụng Firecrawl API để scrape dữ liệu từ cafef.vn.
Để sử dụng Firecrawl API, bạn cần tự đăng ký và lấy API key của riêng bạn từ firecrawl.dev.
Nếu không có Firecrawl API key, tool sẽ sử dụng phương pháp fallback với HTML parsing cơ bản (kết quả có thể kém chính xác hơn).
Để có kết quả tốt nhất, nên sử dụng Firecrawl API key của bạn.
Cách lấy Firecrawl API Key:
Truy cập https://firecrawl.dev
Đăng ký tài khoản miễn phí hoặc đăng nhập
Vào Dashboard và lấy API key của bạn
Copy API key và thêm vào cấu hình mcp.json như hướng dẫn bên dưới
Cấu hình Firecrawl API Key trong mcp.json:
Thêm env với FIRECRAWL_API_KEY vào cấu hình của vn-stock-api-mcp:
{
"mcpServers": {
"vn-stock-api-mcp": {
"command": "node",
"args": ["C:\\path\\to\\vn-stock-api-mcp\\dist\\index.js"],
"env": {
"FIRECRAWL_API_KEY": "your-firecrawl-api-key-here"
}
}
}
}⚠️ QUAN TRỌNG:
Thay
"your-firecrawl-api-key-here"bằng API key thực tế của bạn từ firecrawl.devKHÔNG chia sẻ API key của bạn công khai
KHÔNG commit API key vào Git repository
7. analyze_doji_pattern
Phân tích mô hình nến Doji trong biểu đồ giá cổ phiếu. Mô hình Doji cho thấy sự không chắc chắn của thị trường và tiềm năng đảo chiều xu hướng. Tool này phát hiện các loại Doji khác nhau bao gồm Standard Doji, Long-legged Doji, Dragonfly Doji, Gravestone Doji, và Four Price Doji.
Parameters:
symbol(required): Mã cổ phiếu cần phân tích (ví dụ: "VIC", "VNM", "VCB")period(optional): Chu kỳ thời gian phân tích - "1D" (ngày), "1W" (tuần), "1M" (tháng). Mặc định: "1D"days(optional): Số ngày để phân tích (mặc định: 30, tối đa: 100). Dùng để phát hiện mô hình Doji trong dữ liệu lịch sửthreshold(optional): Ngưỡng phát hiện Doji theo phần trăm của khoảng giá (mặc định: 0.1 = 0.1%). Giá trị thấp hơn sẽ phát hiện nhiều mô hình Doji hơn
Ví dụ sử dụng:
Phân tích Doji cho VIC (30 ngày gần nhất):
{
"symbol": "VIC"
}Phân tích Doji với chu kỳ tuần:
{
"symbol": "VIC",
"period": "1W",
"days": 60
}Phân tích với ngưỡng tùy chỉnh:
{
"symbol": "VNM",
"threshold": 0.05,
"days": 50
}Các loại mô hình Doji được phát hiện:
Standard Doji: Giá mở và giá đóng gần như bằng nhau với bóng nến ở cả hai phía
Ý nghĩa: Thị trường không chắc chắn, có thể đảo chiều xu hướng
Long-legged Doji: Thân nến nhỏ với bóng trên và bóng dưới rất dài
Ý nghĩa: Biến động cao và không chắc chắn mạnh, tiềm năng đảo chiều
Dragonfly Doji: Giá mở và giá đóng gần mức cao nhất, với bóng dưới dài
Ý nghĩa: Tín hiệu tăng giá, đặc biệt sau xu hướng giảm
Gravestone Doji: Giá mở và giá đóng gần mức thấp nhất, với bóng trên dài
Ý nghĩa: Tín hiệu giảm giá, đặc biệt sau xu hướng tăng
Four Price Doji: Giá mở = giá cao = giá thấp = giá đóng (rất hiếm)
Ý nghĩa: Không chắc chắn cực mạnh, xuất hiện rất hiếm
Lưu ý:
Tool cần dữ liệu OHLC (Open, High, Low, Close) từ FireAnt API hoặc nguồn khác
Nếu FireAnt API không khả dụng, tool sẽ cung cấp hướng dẫn sử dụng Firecrawl để scrape dữ liệu
Mô hình Doji chỉ cho thấy sự không chắc chắn của thị trường, nên kết hợp với các chỉ báo kỹ thuật khác để đưa ra quyết định đầu tư
Phân tích kỹ thuật không đảm bảo kết quả đầu tư, chỉ mang tính chất tham khảo
Các nhà cung cấp được hỗ trợ
VNDirect
Open API
D-Stock Data API
Documentation: https://www.vndirect.com.vn/san-pham-to-chuc/apis-white-labeling/
FireAnt
FireAnt API
Base URL: https://api.fireant.vn
Documentation: https://api.fireant.vn/
SSI
FastConnect Trading API
FastConnect Data API
Documentation: https://guide.ssi.com.vn/ssi-products/tieng-viet/fastconnect-trading/danh-sach-cac-api
Development
npm run dev # Watch mode
npm run build # Build
npm start # Run serverLicense
MIT
Available Tools
7 toolsanalyze_doji_patternC
Analyze Doji candlestick patterns in stock price charts. Doji patterns indicate market indecision and potential trend reversals. Detects various types of Doji patterns including Standard Doji, Long-legged Doji, Dragonfly Doji, Gravestone Doji, and Four Price Doji.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol to analyze (e.g., 'VIC', 'VNM', 'VCB') | |
| period | No | Time period for analysis: '1D' (daily), '1W' (weekly), '1M' (monthly). Default: '1D' | 1D |
| days | No | Number of days to analyze (default: 30, max: 100). Used to detect Doji patterns in historical data. | |
| threshold | No | Threshold for Doji detection as percentage of price range (default: 0.1 = 0.1%). Lower values detect more Doji patterns. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes what the tool does (detects Doji patterns) and lists pattern types, but lacks critical behavioral details: it doesn't specify output format, whether it's read-only or mutative, error handling, rate limits, or authentication needs. For a tool with no annotations, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by explanatory context. It avoids redundancy and wastes no words, though it could be slightly more structured (e.g., separating pattern types into a list). Overall, it's efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (technical analysis tool with 4 parameters) and lack of annotations and output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., a list of detected patterns with details), error conditions, or practical usage constraints. For a tool with no output schema, the description should compensate by detailing return values, but it doesn't.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds no parameter-specific information beyond what's in the schema (e.g., it doesn't explain how 'threshold' relates to pattern detection in practice). With high schema coverage, the baseline is 3, as the description doesn't compensate with additional semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Analyze Doji candlestick patterns in stock price charts.' It specifies the verb ('analyze') and resource ('Doji candlestick patterns in stock price charts'), and distinguishes it from sibling tools by focusing on technical analysis rather than data retrieval or news. However, it doesn't explicitly differentiate from potential similar analysis tools (none in the sibling list), so it's not a perfect 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It mentions that 'Doji patterns indicate market indecision and potential trend reversals,' which implies usage for technical analysis, but offers no explicit when/when-not instructions, prerequisites, or comparisons to sibling tools like get_stock_price_fireant or search_vn_stock_api. This leaves the agent with minimal context for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_api_documentation_urlsB
Get documentation URLs for API providers. Returns links to official API documentation, guides, and GitHub repositories.
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Stock API provider |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the return content ('links to official API documentation, guides, and GitHub repositories') but doesn't cover critical aspects like whether it's a read-only operation, error handling, rate limits, or authentication needs. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded and efficient, using two sentences that directly convey the purpose and return value without unnecessary details. Every sentence earns its place by adding value, making it appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally adequate. It covers the purpose and return types but lacks details on behavioral traits and usage context. With no output schema, it doesn't explain return values beyond high-level types, leaving room for improvement in completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'provider' parameter fully documented in the schema. The description adds no additional parameter semantics beyond what the schema provides, such as explaining the 'all' option or provider specifics. Baseline 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get documentation URLs') and resource ('for API providers'), specifying what the tool does. It distinguishes from siblings like 'get_api_endpoints' by focusing on documentation links rather than operational endpoints. However, it doesn't explicitly differentiate from all siblings, such as news or stock price tools, though the purpose is distinct enough.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context for selecting providers, or compare with sibling tools like 'get_api_endpoints' for operational vs. documentation needs. Usage is implied by the purpose but lacks explicit direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_api_endpointsC
Get specific API endpoints for a provider. Returns detailed endpoint information including URLs, methods, and descriptions.
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Stock API provider | |
| category | No | Optional category filter (e.g., 'trading', 'market-data', 'account') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that the tool returns detailed endpoint information, but it does not describe key behavioral traits such as whether it requires authentication, has rate limits, handles errors, or if the data is static or dynamic. This leaves significant gaps for a tool that interacts with API endpoints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, consisting of two clear sentences that state the tool's purpose and return value without unnecessary details. However, it could be slightly more concise by combining ideas, but it efficiently communicates the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and return information but lacks details on behavioral aspects, error handling, or output structure, which are important for API-related tools. This results in a score that reflects partial completeness with notable gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, so the schema already documents both parameters ('provider' and 'category') with descriptions and an enum for 'provider'. The description adds no additional meaning or context beyond what the schema provides, such as examples of categories or provider details, resulting in a baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('Get') and resources ('specific API endpoints for a provider'), and it specifies what information is returned ('detailed endpoint information including URLs, methods, and descriptions'). However, it does not explicitly distinguish this tool from sibling tools like 'get_api_documentation_urls' or 'search_vn_stock_api', which might have overlapping or related functionality, preventing a score of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, such as sibling tools like 'get_api_documentation_urls' or 'search_vn_stock_api'. It lacks explicit context, exclusions, or prerequisites, offering only a basic functional statement without usage instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_cafef_market_newsB
Get latest stock market news from CafeF (cafef.vn). Scrapes and returns comprehensive market news, analysis, and updates from Vietnam's leading financial news website. Uses Firecrawl API for reliable web scraping.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of news articles to return (default: 20, max: 100) | |
| search | No | Optional search query to filter news by keywords (e.g., 'VIC', 'VN-Index', 'ngân hàng') | |
| format | No | Output format: 'markdown' (formatted text), 'json' (structured data), or 'text' (plain text). Default: 'markdown' | markdown |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden but offers limited behavioral insight. It mentions scraping via Firecrawl API, implying external data fetching, but doesn't disclose rate limits, authentication needs, potential failures, or what 'comprehensive' entails. For a web scraping tool with zero annotation coverage, this leaves significant gaps in understanding operational behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with three sentences: purpose, scope, and implementation method. It's front-loaded with the core function. While efficient, the third sentence about Firecrawl API could be considered slightly extraneous but still relevant for transparency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is incomplete for a scraping tool. It doesn't explain return values (e.g., article structure, fields like title/date/content), error handling, or data freshness. For a tool with 3 parameters and behavioral complexity, more context is needed to guide effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so parameters are well-documented in the schema. The description adds no additional parameter semantics beyond implying news filtering via 'search' and output formatting via 'format', which are already covered. Baseline 3 is appropriate as the schema handles parameter documentation adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get'), resource ('latest stock market news from CafeF'), and scope ('comprehensive market news, analysis, and updates from Vietnam's leading financial news website'). It distinguishes itself from siblings by focusing on news scraping rather than stock prices, patterns, or API documentation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives is provided. While it mentions scraping from CafeF, it doesn't specify scenarios where this is preferable over other news sources or sibling tools like get_stock_price_fireant. The description lacks usage context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_stock_price_fireantB
Get real-time stock price from FireAnt. Uses FireAnt API or web scraping to retrieve current stock prices for Vietnam stock market symbols (e.g., VIC, VNM, VCB).
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol (e.g., 'VIC', 'VNM', 'VCB'). Use comma-separated for multiple symbols. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the data source (FireAnt API/web scraping) and real-time nature, but doesn't address important behavioral aspects like rate limits, authentication requirements, error conditions, response format, or whether this is a read-only operation. The description provides some context but leaves significant gaps for a tool that presumably makes external API calls.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately concise with two sentences that each add value. The first sentence states the core purpose, and the second provides implementation details and market context. There's no wasted verbiage, though it could be slightly more front-loaded with the most critical information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no annotations, no output schema, and that presumably makes external API calls, the description is incomplete. It doesn't address response format, error handling, rate limits, or authentication requirements. While it specifies the market focus and data source, important contextual information about how to interpret results or handle failures is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents the single parameter. The description adds minimal value beyond the schema by providing example symbols (VIC, VNM, VCB) and mentioning 'Vietnam stock market symbols', but doesn't explain parameter semantics beyond what's in the schema description. This meets the baseline expectation when schema coverage is complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Get real-time stock price'), identifies the resource ('from FireAnt'), and distinguishes from siblings by specifying the data source (FireAnt API/web scraping) and market focus (Vietnam stock market symbols). It goes beyond just restating the name by detailing the implementation method and geographic scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by mentioning 'Vietnam stock market symbols' and providing examples, but doesn't explicitly state when to use this tool versus alternatives like 'list_vn_stocks' or 'search_vn_stock_api'. No guidance is given about when-not-to-use or specific prerequisites for operation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_vn_stocksA
List all available Vietnam stock symbols. Returns a comprehensive list of stock symbols traded on Vietnamese stock exchanges (HOSE, HNX, UPCOM). Similar to list_assets in coincap-mcp.
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | No | Filter by exchange: HOSE (Ho Chi Minh Stock Exchange), HNX (Hanoi Stock Exchange), UPCOM (Unlisted Public Company Market), or 'all' for all exchanges. | |
| search | No | Optional search query to filter stocks by symbol or company name. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool returns a 'comprehensive list' and specifies the exchanges covered, adding useful context. However, it does not disclose key behavioral traits like whether the list is paginated, real-time, cached, or includes metadata beyond symbols, which are important for a listing tool without annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose in the first sentence, followed by additional context in a second sentence. It is concise with no wasted words, efficiently conveying essential information (action, resource, scope, and similarity reference) in two sentences that each earn their place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (simple listing with two optional parameters), high schema coverage (100%), and no output schema, the description is mostly complete. It covers the purpose, scope, and similarity to another tool, but lacks details on output format (e.g., structure of the returned list) and behavioral aspects like performance or limitations, which would enhance completeness for a listing tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting both parameters (exchange with enum values and search as optional filter). The description adds no additional parameter semantics beyond what the schema provides, such as examples or usage tips. Since schema coverage is high, the baseline score of 3 is appropriate, as the description does not compensate but also does not detract.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('List all available Vietnam stock symbols') and resource ('stock symbols traded on Vietnamese stock exchanges'), distinguishing it from siblings like get_stock_price_fireant or search_vn_stock_api by focusing on listing rather than price retrieval or searching. It explicitly mentions the scope (HOSE, HNX, UPCOM exchanges) and references a similar tool (list_assets in coincap-mcp) for context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool (to list Vietnam stock symbols) and implicitly distinguishes it from siblings by not overlapping with their purposes (e.g., analyze_doji_pattern for pattern analysis, get_stock_price_fireant for price data). However, it lacks explicit guidance on when not to use it or direct alternatives among siblings, such as search_vn_stock_api for filtered searches.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_vn_stock_apiB
Search for API documentation and endpoints from VNDirect, FireAnt, or SSI. Returns information about available APIs, endpoints, and documentation URLs.
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Stock API provider to search. Use 'all' to get information from all providers. | |
| query | No | Optional search query to filter results (e.g., 'trading', 'market data', 'authentication') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the tool returns 'information about available APIs, endpoints, and documentation URLs', but lacks details on rate limits, authentication needs, error handling, or response format. For a search tool with zero annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded in a single sentence, efficiently stating the tool's purpose and return value. Every sentence earns its place, though it could be slightly more structured by separating provider details from functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (search with filtering), no annotations, and no output schema, the description is minimally adequate. It covers the basic purpose and parameters but lacks details on behavioral traits, response structure, or error handling, leaving gaps for an AI agent to operate effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents both parameters. The description adds marginal value by mentioning 'search query to filter results' and listing providers, but doesn't provide additional syntax, format details, or examples beyond what the schema specifies. Baseline 3 is appropriate when the schema handles parameter documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Search for API documentation and endpoints from VNDirect, FireAnt, or SSI' with the specific verb 'search' and resources 'API documentation and endpoints'. It distinguishes from siblings like 'get_api_documentation_urls' and 'get_api_endpoints' by emphasizing search functionality with filtering, though it doesn't explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage by listing providers and mentioning filtering with a query, but it doesn't explicitly state when to use this tool versus alternatives like 'get_api_documentation_urls' or 'get_api_endpoints'. No exclusions or prerequisites are provided, leaving usage context inferred rather than clearly defined.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
The tools have some clear distinctions, such as between price fetching, news retrieval, and API documentation, but there is notable overlap: get_api_documentation_urls and search_vn_stock_api both handle API documentation, and get_api_endpoints is closely related, which could cause confusion for an agent. The Doji analysis tool is distinct but may not integrate well with the others.
Most tools follow a consistent verb_noun pattern (e.g., get_stock_price_fireant, list_vn_stocks, search_vn_stock_api), with clear and descriptive names. However, analyze_doji_pattern uses 'analyze' instead of 'get' or 'list', and includes underscores inconsistently with compound terms, slightly deviating from the overall pattern.
With 7 tools, the count is reasonable for a server focused on Vietnam stock market data and API access. It covers multiple aspects like prices, news, symbols, and documentation without being overly bloated, though it could be slightly refined to reduce redundancy in the API documentation tools.
The server covers key areas like stock listing, price fetching, news, and API documentation, but there are gaps: it lacks tools for historical data, portfolio management, or trading operations, which are common in stock APIs. The Doji analysis tool feels isolated without complementary technical analysis tools, limiting overall domain coverage.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Vietnam stock market data & portfolios via Finhay Securities OpenAPI.
Provide access to Chinese stock market data including historical prices, real-time data, news, and…
Korean + US market data for AI agents: DART, Korean prices/screeners, SEC EDGAR, 13F. Free tier.
Access real-time and historical market data for China A-shares and Hong Kong stocks, along with ne…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables AI assistants to query Vietnam stock intraday data from SSI FastConnect API, providing access to stock codes, detailed information, index data, and OHLC information through natural language queries.17Apache 2.0
- AlicenseBqualityDmaintenanceProvides access to Vietnam stock market data including real-time quotes, historical prices, company financials, trading statistics, mutual fund information, and exchange rates through the vnstock library.332MIT
- AlicenseBqualityDmaintenanceMCP server for Vietnamese stock market data, enabling AI assistants to access stock history, financials, company info, and global market data through 21 tools.21102MIT
- AlicenseNot gradedqualityDmaintenanceProvides seamless access to Vietnamese stock market data, enabling real-time prices, historical data, company fundamentals, and market analysis through natural language queries.21MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Long0308/vn-stock-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server