### Install Python Dependencies Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/README.md Install the necessary Python dependencies for the project. Ensure you have cloned the repository first. ```bash pip install -r requirements.txt ``` -------------------------------- ### Run the Server (Default) Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/README.md Start the MCP server using the default stdio mode. This is the basic command to run the server. ```bash python server.py ``` -------------------------------- ### Example Request Payload for HKMA Tender Data Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/hkma-tender.md This JSON payload demonstrates how to specify parameters for fetching HKMA tender data. It includes start date, end date, page size, and tender type for filtering. ```json { "start_date": "2023-01-01", "end_date": "2023-12-31", "pagesize": 100, "tender_type": "EFBN" } ``` -------------------------------- ### Run Tests Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/README.md Execute the project's tests using pytest. Ensure all dependencies are installed before running tests. ```bash pytest ``` -------------------------------- ### Run the Server (SSE Mode) Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/README.md Start the MCP server in SSE mode, listening on port 8000. This is useful for server-sent event integrations. ```bash python server.py --sse ``` -------------------------------- ### Fetch Credit Card Data Parameters Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/credit-card.md Invoke the get_credit_card_data function with optional parameters for start and end year/quarter. If no parameters are provided, it defaults to fetching data for the last 8 quarters. ```json { "start_year": 2018, "start_quarter": 1, "end_year": 2023, "end_quarter": 4 } ``` -------------------------------- ### Example Request Payload for Historical Data Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/licensed-banks-historical.md This JSON object demonstrates the structure of a request payload to the `get_licensed_banks_historical_data` function. It specifies the desired year range, data type, and output language. ```json { "start_year": 1980, "end_year": 2000, "data_type": "licensed_banks", "lang": "en" } ``` -------------------------------- ### Request Parameters for Negative Equity Mortgage Data Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/negative-equity-mortgage.md Use these parameters to specify the desired year and quarter range when requesting negative equity mortgage data. If no parameters are provided, the tool defaults to fetching data for the last 8 quarters. ```json { "start_year": 2015, "start_quarter": 1, "end_year": 2023, "end_quarter": 4 } ``` -------------------------------- ### Cline MCP Settings Configuration Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/README.md Configure Cline to connect to the Hong Kong Finance MCP server using stdio. Add this JSON to your Cline MCP settings. ```json { "hk-finance": { "disabled": false, "timeout": 3, "type": "stdio", "command": "uvx", "args": [ "hkopenai.hk-finance-mcp-server" ] } } ``` -------------------------------- ### Request Payload for Business Registration Data Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/business-registration.md This JSON payload specifies the desired date range for fetching business registration data. If no parameters are provided, the tool defaults to the last 12 months. ```json { "start_year": 2020, "start_month": 1, "end_year": 2023, "end_month": 12 } ``` -------------------------------- ### Invoke Coin Cart Data Function Source: https://github.com/hkopenai/hk-finance-mcp-server/blob/main/memory-bank/coin-cart.md Invoke the get_coin_cart_data function to fetch the latest available coin cart schedule data. The function requires no parameters. ```json {} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.