Connect
The hosted server is at this address and uses Streamable HTTP:- Sign in (the ChatGPT and Claude apps): Add the URL as a connector and sign in with your halal.sh account when prompted. There is no key to manage: the connector has the full universe on the Plus plan or the Developer plan, and the sandbox universe otherwise. It picks up a plan change within five minutes, without reconnecting.
- 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 limited to 12 instruments, and live keys, on the Plus plan or the Developer plan, have the full universe.
ChatGPT
- Open Settings, then Connectors, and under Advanced turn on Developer mode (custom connectors need it; it’s on paid ChatGPT plans).
- Choose Create, name it
halal.sh, and pastehttps://api.halal.sh/mcpas the MCP server URL. - Sign in to halal.sh when prompted, then turn on the connector from the tools menu in a chat.
Claude (claude.ai and Claude Desktop)
- Open Settings, then Connectors, and choose Add custom connector (on 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 and full access
With a sandbox key, the tools work on the sandbox universe only (AAPL, MSFT, NVDA, GOOGL, JPM, GS, META, TSLA, JNJ, AMZN, SPY, HLAL). A live key, which comes with Plus or the Developer plan, works on the full stock and ETF universe. Signed-in (OAuth) connectors from the ChatGPT and Claude apps follow the same rule through your account: the full universe on Plus or the Developer plan, and the sandbox universe otherwise. Without Plus or the Developer plan, a live key and a signed-in connector both fall back to the sandbox universe until you renew one. Every tickerscreen_portfolio doesn’t screen comes back in a list: unknown
tickers in not_found, fund tickers in not_found and in etfs (look those
up with get_etf), and, on the sandbox, symbols outside it in
sandbox_restricted.
On Plus, live keys and signed-in connectors are for your own use: research,
automations, and internal workflows. To show halal.sh results to the users
of your product, you need the Developer plan, a separate
subscription from Plus.
Reading the docs from your editor
This documentation is also an MCP server, athttps://docs.halal.sh/mcp, for
questions about using the API. To add it to your client, use
Copy MCP server URL in the contextual menu at the top of any page.
