https://stockcontext.com/dashboard/keys.
Claude Code
claude.ai and Claude Desktop
Add a custom connector with:
If the client asks for an MCP server URL only, use
https://stockcontext.com/mcp and add the bearer header in the connector’s authentication or advanced headers section.
Cursor and generic MCP JSON
Use a remote HTTP MCP server entry:Authorization: Bearer <key> header to https://stockcontext.com/mcp.
Tools
Tool surface: 10 data tools + stock_flag, a feedback endpoint (not a data tool, not exposed over MCP). The MCP server exposes only those data tools and forwards each call to schema 2. Theschema parameter may be omitted or sent; MCP always serves schema 2.
Tool results are the raw JSON response body as text. Non-
200 API responses are passed through too, because they are typed envelopes the agent should read.
Refusals
A refused value is a first-class answer. In schema 2, unprovable values and unavailable blocks use typedunavailable / reason fields with recovery guidance. Do not retry a refusal hoping for a number; read the reason, report it, or follow the recovery action when one is provided.
For the full request parameters, see the API reference and the Schema 2 docs.