hk-finance
This is an MCP server that provides access to finance related data in Hong Kong through a FastMCP interface.
claude mcp add --transport stdio hkopenai-hk-finance-mcp-server uvx hkopenai.hk-finance-mcp-server
How to use
This MCP server provides access to Hong Kong finance data through a FastMCP interface. It aggregates a variety of datasets from Hong Kong authorities, including monthly business registrations, mortgage loan trends, credit card lending surveys, ATM locations, HIBOR figures, ATM networks, and more. The server is designed to be consumed by clients that support the MCP protocol, enabling you to query data, fetch statistics, and generate insights or charts from the underlying data sources.
To use the server, you run it using the uvx-based packaging (as configured for Cline integration). The server exposes data endpoints via the MCP protocol. Tools and capabilities you can leverage include: retrieving monthly and quarterly statistics, listing and filtering data by region (e.g., Hong Kong), getting up-to-date figures like HIBOR trends, and producing chart-ready data (the repository notes a chart tool for line plots). If you have an integration layer like Cline, you can connect using stdio and point to the published MCP package.
How to install
Prerequisites:
- Python 3.8+ installed
- Git installed
- Internet access to fetch dependencies
Installation steps:
- Clone the repository: git clone https://github.com/hkopenai/hk-finance-mcp-server.git
- Navigate to the project directory: cd hk-finance-mcp-server
- (Optional) Create a virtual environment:
python -m venv venv
on Windows: venv\Scripts\activate
on macOS/Linux: source venv/bin/activate
- Install dependencies: pip install -r requirements.txt
- Run the server (stdio mode):
uvx hkopenai.hk-finance-mcp-server
or if you are not using uvx packaging, you can run via the script directly when installed
- If you plan to use SSE or other modes, refer to the server's startup options: python server.py python server.py --sse
Notes:
- Ensure network access to data sources listed in the Data Source section of the README is allowed.
- If you deploy in a container or orchestration system, use the mcp_config configuration to connect the server via uvx.
Additional notes
Tips and considerations:
- Data sources come from HKMA and IRD; data freshness depends on source updates.
- If you encounter environment-related issues, ensure the virtual environment is activated and dependencies from requirements.txt are installed.
- When using Cline, the provided example shows how to connect hk-finance via stdio using the uvx-based packaging; adapt the package name if your deployment differs.
- For charting and visualization, the repository references a line chart example; ensure the chart tool is available in your integration layer to render plots.
Related MCP Servers
valuecell
ValueCell is a community-driven, multi-agent platform for financial applications.
edumcp
EDUMCP is a protocol that integrates the Model Context Protocol (MCP) with applications in the education field, dedicated to achieving seamless interconnection and interoperability among different AI models, educational applications, smart hardware, and teaching AGENTs.
TradingAgents mode
TradingAgents-MCPmode 是一个创新的多智能体交易分析系统,集成了 Model Context Protocol (MCP) 工具,实现了智能化的股票分析和交易决策流程。系统通过多个专业化智能体的协作,提供全面的市场分析、投资建议和风险管理。
lihil
2X faster ASGI web framework for python, offering high-level development, low-level performance.
metatrader
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform
MCP2Lambda
Run any AWS Lambda function as a Large Language Model (LLM) tool without code changes using Anthropic's Model Context Protocol (MCP).