AI and agents
Connect Claude Code and other terminal agents
Add the Orderbook server to Claude Code with one command, sign in from your browser, and use Orderbook from your terminal. Other terminal agents work in a similar way.
3 minutes
Who can do this
- Member
- Business owner
- Business manager
Before you start
You need an Orderbook account and Claude Code installed on your computer. Commands are typed into a terminal window.
Steps
Step 1: Open a terminal
Open the terminal on your computer, in the folder where you use Claude Code.Step 2: Add the server
Type this command and press Enter: claude mcp add --transport http orderbook https://mcp.orderbook.africa/mcpStep 3: Sign in to Orderbook
Start Claude Code and type /mcp. Choose orderbook and follow the link to sign in to Orderbook and allow access.Step 4: Use it in every project
By default the server is added for the current project only. To use it everywhere, add --scope user to the command.Step 5: Ask Claude Code
Ask for something in plain words: Search Orderbook for plumbers in Lusaka, Zambia who are online now. Claude Code asks you before it uses a tool for the first time.Step 6: Try other terminal agents
Other agents use their own settings file. For Gemini CLI, add the Gemini snippet from the AI page to ~/.gemini/settings.json, then type /mcp auth orderbook. Any agent that supports remote MCP servers over HTTP can use the same address.
Tips
- If you cannot sign in with a browser, for example on a remote computer, use a personal token. Add --header with the word Bearer and your token. The AI page has the exact command.
- Type /mcp any time to see if Orderbook is connected.
- To remove the server, type claude mcp remove orderbook.
What happens next
Choose which tools to turn on, so your agent is not overloaded.
Related guides
Create a personal token for your AI app
Make a token in Orderbook for an AI app that cannot sign in by itself. Choose what it may do, copy it once, and cancel it when you no longer need it.
MemberBusiness ownerBusiness manager3 minutes
Choose which tools your AI app can use
Orderbook offers its tools in three sets. Pick only the sets you need with ?tools= in the address, so your AI app works faster and asks for less access.
MemberBusiness ownerBusiness manager4 minutes
Fix problems with your AI connection
What to do when sign-in repeats, the tools do not show, you see an error 401, 403 or 429, results are from the wrong country, or Billenta tools are missing.
VisitorMemberBusiness owner+15 minutes