Getting started
This guide takes you from nothing to an answer from Arca, first over HTTP and
then from an AI tool through the MCP server. You need only a terminal with
curl; there is nothing to install.
Use an Arca Platform API key to search public sources with the Research API. The personal access token in this guide covers the HTTP API and hosted MCP server.
Before you begin
You need an Arca account that can sign in at app.arca.inc, with API access enabled. If Developer is missing from Settings, contact Arca to enable access.
1. Create a token
- Open Settings → Developer.
- Choose Create token and name it after where it will run, such as
laptop-claude-code. - Copy the secret. It is shown only once.
Keep it in your shell for the rest of this guide:
export ARCA_API_TOKEN="arca_pat_…"
Personal access tokens carry the same access as your Arca account and expire on the date you choose, at most one year out. Keep them out of source control, logs, screenshots, and shared shell history.
2. Choose an organization
Every call runs inside one organization. List yours:
curl --fail-with-body https://app.arca.inc/api/v1/me \
-H "Authorization: Bearer $ARCA_API_TOKEN"
Copy the id of the organization you want to work in:
export ARCA_ORG_ID="<organization-id>"
3. Send your first chat
curl --fail-with-body https://app.arca.inc/api/v1/chats \
-H "Authorization: Bearer $ARCA_API_TOKEN" \
-H "X-Organization-Id: $ARCA_ORG_ID" \
-H "Content-Type: application/json" \
-d '{"message":"Summarize the key renewal risks.","stream":false}'
Arca answers in the background and returns 202 right away with the new
chat's chatId. Save it:
export CHAT_ID="<chat-id>"
4. Read the answer
Check the status until shouldPoll is false:
curl --fail-with-body "https://app.arca.inc/api/v1/chats/$CHAT_ID/status" \
-H "Authorization: Bearer $ARCA_API_TOKEN" \
-H "X-Organization-Id: $ARCA_ORG_ID"
Then read the transcript:
curl --fail-with-body "https://app.arca.inc/api/v1/chats/$CHAT_ID" \
-H "Authorization: Bearer $ARCA_API_TOKEN" \
-H "X-Organization-Id: $ARCA_ORG_ID"
The chat also appears in the Arca web app, where you can continue it. To keep
going over HTTP, send another message with the same chatId. The
HTTP API guide covers streaming, attachments, and a complete
JavaScript example.
Share it with a teammate
API chats start private to you. Share one with people in your organization, then send them its link:
curl --fail-with-body "https://app.arca.inc/api/v1/chats/$CHAT_ID/share" \
-H "Authorization: Bearer $ARCA_API_TOKEN" \
-H "X-Organization-Id: $ARCA_ORG_ID" \
-H "Content-Type: application/json" \
-d '{"emails":["teammate@example.com"]}'
curl --fail-with-body "https://app.arca.inc/api/v1/chats/$CHAT_ID/link" \
-H "Authorization: Bearer $ARCA_API_TOKEN" \
-H "X-Organization-Id: $ARCA_ORG_ID"
The first call adds them as a viewer and emails them. Addresses outside your
organization come back in notInOrganization and are not added. The second
returns {"chatId": "…", "url": "https://app.arca.inc/chat/…"}; they open it,
sign in, and see the same chat. See Share a chat.
5. Connect an AI tool
The Arca MCP server gives AI tools the same chats,
organizations, and token management as tools they can call. It is hosted at
https://mcp.arca.inc/mcp and uses the token you already have.
For Claude Code:
claude mcp add --transport http arca https://mcp.arca.inc/mcp \
--header "Authorization: Bearer $ARCA_API_TOKEN" \
--header "X-Organization-Id: $ARCA_ORG_ID"
Then ask Claude Code something like "Ask Arca to summarize the key renewal risks." Codex, Cursor, VS Code, and other clients are covered in the MCP server guide.
Next steps
- HTTP API is the chat and file endpoint reference.
- Research API covers direct public-source search and reading.
- Arca MCP server covers tools, per-client setup, and safety.
- Errors and security covers retries, failure handling, and token rotation.