Hong Kong Finance Data MCP Server
This is an MCP server that provides access to finance related data in Hong Kong through a FastMCP interface.
Features
- Monthly statistics on the number of new and active business registrations in Hong Kong
- Quarterly statistics on residential mortgage loans in negative equity in Hong Kong
- Credit card lending survey results in Hong Kong
Examples
- What is the number of new business registered in Hong Kong 2024?
- What is the negative loan situation in Hong Kong Q1 2025 compare with Q1 2024?
- Write a commentary about the latest residential mortgage loans in negative equity in Hong Kong
- How is current Hong Kong economy by referencing credit lending data and residential mortgage loans in negative equity?
Assume chart tool is available:
- Plot a line chart showing trend and number of new business registered each month from Jan to Dec in Hong Kong 2024.
Setup
- Clone this repository
- Install Python dependencies:
pip install -r requirements.txt
- Run the server:
python app.py
Running Options
- Default stdio mode:
python app.py
- SSE mode (port 8000):
python app.py --sse
Cline Integration
To connect this MCP server to Cline using stdio:
- Add this configuration to your Cline MCP settings (cline_mcp_settings.json):
{
"hk-finance": {
"disabled": false,
"timeout": 3,
"type": "stdio",
"command": "python",
"args": [
"c:/Projects/hk-finance-mcp-server/app.py"
]
}
}
Testing
Tests are available in the tests/
directory. Run with:
pytest