Server URL
Two ways to sign in
With your account. Clients that connect by URL (Claude, ChatGPT, Cursor, Claude Code) open a consent screen. You sign in to InsightChain, pick the organization and the permissions, and approve. Nothing to copy, and you can disconnect the app at any time under API keys. With an API key. For servers and scripts. Create a key under API keys and send it asAuthorization: Bearer YOUR_API_KEY.
Set up your client
Claude Code
Your account or an API key.- With your account: add the server, then run
/mcpinside Claude Code and choose Authenticate. Your browser opens the consent screen. - With an API key: add the server with an Authorization header. Nothing else to do.
Claude Desktop and claude.ai
Signs in with your account.- Open Settings, then Connectors, then Add custom connector.
- Name it InsightChain and paste
https://api.insightchain.ai/v1/mcpas the URL. - Choose Connect. Sign in to InsightChain, pick the organization and the permissions, and approve.
Connector URL
Cursor
Your account or an API key.- Add the server to
~/.cursor/mcp.json(or.cursor/mcp.jsonin a project). - With an API key, keep the headers block. Without it, Cursor opens the consent screen the first time the server is used.
~/.cursor/mcp.json
ChatGPT
Signs in with your account.- Open Settings, then Connectors, and create a connector (your workspace admin may need to turn on developer mode).
- Paste
https://api.insightchain.ai/v1/mcpas the MCP server URL and choose OAuth as the authentication. - Sign in to InsightChain, pick the organization and the permissions, and approve.
MCP server URL
OpenAI SDK (Responses API)
Uses an API key.- Pass the server as a tool of type mcp, with your API key in the Authorization header.
- The sample sets
require_approvaltonever, so no tool call waits for you. Use a key with only thereadscope here; for a key that can change something, setrequire_approvaltoalwaysand answer the approval requests in your code.
Python
Anthropic SDK (Messages API)
Uses an API key.- Name the server in
mcp_serverswith your API key as its authorization token, and reference it from anmcp_toolsettool.
Python
Any other client
The server speaks Streamable HTTP: POST JSON-RPC messages to the URL. To look around before wiring anything, use the MCP Inspector.cURL
MCP Inspector
What you can ask
The server URL lists a short set of tools, chosen for the four questions teams ask most. An assistant picks better from a short list. Each tool is shown with a question it answers.What is at risk?
What should I move or buy?
What does this tariff cost me?
Is this item admissible?
More tools, by area
More tools come in sets. Connect to a set by adding its name to the URL, or combine sets with?toolsets=trade,risk. For every tool at once, use https://api.insightchain.ai/v1/mcp/all.
A set decides which tools are listed, not which can be called: a client that knows a tool by name can call it on any of these URLs. Tools of a module your organization does not have are not listed.
Inventory
Demand, forecasts, replenishment, stockouts, transfers, purchases, markdowns and expiry.https://api.insightchain.ai/v1/mcp/inventory
Disruptions and risk
Disruption events and exposure, and country and location risk.https://api.insightchain.ai/v1/mcp/risk
Trade and customs
Duties, landed cost, import tax, customs documents, screening, and how tariff changes hit your orders.https://api.insightchain.ai/v1/mcp/trade
Product compliance
Recalls, admissibility verdicts and product passports.https://api.insightchain.ai/v1/mcp/compliance
Recommendations and orders
The approval loop: recommendations, their evidence, orders and alerts.https://api.insightchain.ai/v1/mcp/actions
Merchandising
https://api.insightchain.ai/v1/mcp/merch
Data and connections
What data the organization has, how fresh it is, and the state of its connections.https://api.insightchain.ai/v1/mcp/data
Results
Every tool declares the shape of its answer (outputSchema) and returns it as structuredContent, with the same JSON as text for older clients. The list carries each answer’s top-level fields; add ?schemas=full for every field.
A result is at most 32,000 bytes. A larger one is cut at whole rows and says so: truncated: true, how many rows were left out, and a next_cursor. Call the same tool with the same arguments and cursor set to it for the next part.
One tool call is one request against your limits (120 a minute and the daily quota of the key or connection). Listing tools and the protocol’s own messages do not use the daily quota. Tools that change something say so, and the clients you chat with ask before running them.