Connect
The hosted server speaks Streamable HTTP at:- Sign in (the ChatGPT and Claude apps). Add the URL as a connector and sign in with your halal.sh account when prompted. No key to manage: the connector gets whatever your plan grants, the sandbox universe on Free, the full universe on Plus. A plan change reaches the connector within five minutes; there is nothing to reconnect.
- API key (developer tools). Claude Code, Codex, Gemini CLI, Cursor, and VS Code send the key as a Bearer header. Create a key: sandbox keys are free and cover a curated set of 12 instruments; live keys (the Plus plan) unlock the full universe.
ChatGPT
- Open Settings → Connectors, and under Advanced turn on Developer mode (custom connectors require it, on a paid ChatGPT plan).
- Choose Create, name it
halal.sh, and pastehttps://api.halal.sh/mcpas the MCP server URL. - Complete the halal.sh sign-in when prompted, then enable the connector from the tools menu in a chat.
Claude (claude.ai and Claude Desktop)
- Open Settings → Connectors → Add custom connector (paid Claude plans).
- Paste
https://api.halal.sh/mcpand choose Add. - Click Connect and sign in with your halal.sh account. The tools then appear in the chat tools menu on web, desktop, and mobile.
Claude Code, Codex, Gemini CLI, Cursor, VS Code
Tools
Sandbox vs full access
A sandbox key restricts the tools to the sandbox universe (AAPL, MSFT, NVDA, GOOGL, JPM, GS, META, TSLA, JNJ, AMZN, SPY, HLAL), ideal for trying it out. A live key unlocks the full stock & ETF universe and comes with the halal.sh Plus plan. Signed-in (OAuth) connectors from the ChatGPT and Claude apps follow the same rule through your account: sandbox universe on Free, full universe on Plus. Scope follows your active subscription rather than the credential: if Plus lapses, a live key and a signed-in connector both fall back to the sandbox universe until it is renewed. Nothing is silently dropped or faked. Unknown tickers passed toscreen_portfolio come back in not_found; fund tickers come back in
not_found and in etfs, which is your cue to call get_etf; and any
symbol outside a sandbox-scoped caller’s universe comes back in
sandbox_restricted.
Plus live keys are for your own use: research, automations, and internal
workflows. Building a product on halal.sh is a
separate developer plan.
Reading the docs from your editor
Separately, this documentation is itself available as an MCP server athttps://docs.halal.sh/mcp (auto-hosted by our docs platform, which is why
this guide lives at /mcp-server) for “how do I use endpoint X” questions.
Use the Copy MCP server URL action in the contextual menu in each page’s
header to add it to your client.
