Skip to main content
Glama

TWSE MCP Server

MIT License
2
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
workspaceRootNoThe path to your project workspace

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
stock_trend_analysis_promptPrompt for Taiwan stock trend analysis using TWSE OpenAPI endpoints.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_company_profile

Obtain the basic information of a listed company as a JSON string object based on its stock code.

get_company_dividend

Obtain the dividend distribution information of a listed company based on its stock code.

get_company_monthly_revenue

Obtain monthly revenue information for a listed company based on its stock code.

get_company_income_statement

Obtain comprehensive income statement for a listed company based on its stock code (general industry).

get_company_balance_sheet

Obtain balance sheet for a listed company based on its stock code (general industry).

get_company_governance_info

Obtain corporate governance information for a listed company based on its stock code.

get_company_climate_management

Obtain climate-related management information for a listed company based on its stock code.

get_company_risk_management

Obtain risk management policy information for a listed company based on its stock code.

get_company_supply_chain_management

Obtain supply chain management information for a listed company based on its stock code.

get_company_info_security

Obtain information security data for a listed company based on its stock code.

get_stock_daily_trading

Obtain daily trading information for a listed company stock based on its stock code.

get_stock_monthly_average

Obtain daily closing price and monthly average price for a listed company stock based on its stock code.

get_stock_monthly_trading

Obtain monthly trading information for a listed company stock based on its stock code.

get_stock_yearly_trading

Obtain yearly trading information for a listed company stock based on its stock code.

get_stock_valuation_ratios

Obtain P/E ratio, dividend yield, and P/B ratio for a listed company stock based on its stock code.

get_market_index_info

Obtain daily market closing information and overall market statistics.

get_market_historical_index

Obtain historical TAIEX (Taiwan Capitalization Weighted Stock Index) data for long-term trend analysis.

get_margin_trading_info

Obtain margin trading and short selling balance information for the market.

get_real_time_trading_stats

Obtain real-time 5-second trading statistics including order volumes and transaction counts.

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/twjackysu/TWSEMCPServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server