lionbank-wealth
Provides market and wealth-management insights from HSBC Private Banking by searching privatebanking.hsbc.com.
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., "@lionbank-wealthWhat is HSBC's outlook for global equities?"
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.
lionbank-wealth
A ChatGPT app (MCP server) that answers market and wealth-management questions
using only the insights published by HSBC Private Banking at
privatebanking.hsbc.com. Once connected
to ChatGPT in Developer mode, users enable lionbank-wealth from the composer's
tools menu and ask a question directly in chat.
How it works
The server exposes a single MCP tool, lionbank_wealth_insight(query). It makes one
call to OpenAI's Responses API with the built-in web_search tool, restricted via
filters.allowed_domains to privatebanking.hsbc.com. The model searches that
site, then answers the user's question from what it finds, citing the specific
page(s) used. If nothing relevant exists on the site, it says so instead of
falling back on outside knowledge.
Built with FastMCP (Python) and served over the MCP Streamable HTTP transport, which is what lets it run as a normal HTTP container on Cloud Run.
Related MCP server: hidrix-tools
Project layout
File | Purpose |
| The MCP server and the |
| Python dependencies ( |
| Container image for Cloud Run |
| Required environment variables for local runs |
Configuration
Variable | Required | Description |
| yes | OpenAI API key used server-side for search + answering |
| no (default | Model used for the Responses API call — must support the |
| no (default | Port the HTTP server binds to (Cloud Run sets this automatically) |
Run locally
pip install -r requirements.txt
OPENAI_API_KEY=sk-your-key python server.pyThe server listens on http://0.0.0.0:8080/mcp.
Test locally
Quick structural check (no OpenAI call):
fastmcp inspect server.pyCall the tool against a running server:
fastmcp call http://127.0.0.1:8080/mcp lionbank_wealth_insight query="What is HSBC's outlook on gold?"Interactive browser UI:
fastmcp dev inspector server.pyTest the real ChatGPT connection flow before deploying, tunnel the local server with a public HTTPS URL:
ngrok http 8080then use the printed https://....ngrok-free.app/mcp URL as the MCP server URL
when adding the connection in ChatGPT (see below).
Deploy to Cloud Run
gcloud config set project YOUR_PROJECT_ID
gcloud services enable run.googleapis.com cloudbuild.googleapis.com secretmanager.googleapis.com
# store the OpenAI key as a secret rather than a plain env var
printf '%s' 'sk-...' | gcloud secrets create openai-api-key --data-file=-
gcloud run deploy lionbank-wealth \
--source . \
--region us-central1 \
--allow-unauthenticated \
--set-secrets=OPENAI_API_KEY=openai-api-key:latest \
--set-env-vars=OPENAI_MODEL=gpt-5.6-luna \
--min-instances=0 \
--max-instances=2--allow-unauthenticatedis required — ChatGPT calls this endpoint directly and this server doesn't implement OAuth, so Cloud Run's IAM auth would block it.--min-instances=0means the service scales to zero when idle (no cost while unused), at the cost of a cold start on the first request after idling.--max-instances=2caps how far it can scale under load, which also caps worst-case cost since there's no auth to stop someone from hammering the endpoint (see Known limitations).The MCP endpoint is the printed Cloud Run service URL +
/mcp.
Verify the deployment:
curl -s https://YOUR-SERVICE-URL/mcp -X POST \
-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'Connect it in ChatGPT
Settings → Security and login → turn on Developer mode. (Availability depends on account/workspace policy.)
Go to chatgpt.com/plugins and select the + button to add a server.
Enter a user-facing name (
lionbank-wealth) and description.Under Connection, choose the public-endpoint option and enter the MCP server URL, including the
/mcppath:https://YOUR-SERVICE-URL/mcp.Select Create the connection — ChatGPT connects and lists the tools it discovered (
lionbank_wealth_insight). No authentication step is needed since this server doesn't require any.Start a new conversation, open the composer's tools menu, enable the
lionbank-wealthconnection, and ask your question.
If ChatGPT can't connect, verify the public HTTPS endpoint with MCP Inspector first (see Test locally) before retrying step 5.
This makes the app usable from your own ChatGPT account only (Developer mode). Making it installable/discoverable for other users requires packaging it as a plugin and submitting it through OpenAI's review process separately.
Known limitations
No auth on the endpoint — anyone with the URL can call it and consume your OpenAI quota.
--max-instances=2caps concurrent scale, but set a usage budget/alert on the OpenAI project too — it's the real backstop on cost.web_searchcalls have their own OpenAI API cost, separate from model tokens.
This server cannot be installed
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
MCP server exposing the Backtest360 engine API as tools for AI agents.
The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API. It enables users to analyze public market data (SEC filings, earnings transcripts, financial metrics, and stock data for 8000+ companies), private market data (3M+ companies, 500k+ funding rounds, 2M+ M&A/IPO transactions), and conduct deep research including web scraping capabilities. The server also features autonomous research agents that search hundreds of sources and return fully cited reports in approximately one minute.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseBqualityBmaintenanceThis MCP server enables AI assistants to access Gangtise investment research platform data, including market data, financial reports, research opinions, and more via the Gangtise OpenAPI.665164MIT
- AlicenseNot gradedqualityFmaintenanceMCP tool server that gives any AI agent the ability to search, scrape, and analyze content across the internet.42MIT
- FlicenseNot gradedqualityBmaintenanceTurns financial documents into AI-generated investment briefs by exposing banking tools like search financials, compare companies, and risk flagging as an MCP server, allowing an LLM agent to discover and use them dynamically.3-
- FlicenseNot gradedqualityBmaintenanceMCP server for GlossaryAI, an AI assistant specialized in legal and regulatory vocabularies. Provides tools for vector search, planning, legal link resolution, and concept comparison using Qdrant and an OpenAI-compatible LLM.-