# Rewalto MCP in Claude Code

To connect Claude Code to Rewalto, add the server address https://mcp.rewalto.com/mcp and send your API key as an Authorization: Bearer header. The server has 102 tools as of 7 November 2026, 1:20 am IST; 51 are free to call.

## Get an API key

1. Create an API key for your organisation, as the API keys guide explains. Its secret is shown once, when the key is created; copy it then.
2. For an agent that only reads, give the key data:read and usage:read. Add tools:run only for an agent allowed to propose and approve spending.
3. Every request to the MCP server needs the key, the free catalogue tools included. Put it in the placeholder below (rwk_your_key, or the environment variable the snippet names).

API keys guide: https://rewalto.com/developers/docs/api-keys

## Add Rewalto to Claude Code

Add the server with one command. It is saved for you in this project; add --scope user to use it in every project, or --scope project to share it through the project's .mcp.json.

Terminal:

```sh
claude mcp add --transport http rewalto https://mcp.rewalto.com/mcp \
  --header "Authorization: Bearer $REWALTO_API_KEY"
```

.mcp.json, shared with a project:

```json
{
  "mcpServers": {
    "rewalto": {
      "type": "http",
      "url": "https://mcp.rewalto.com/mcp",
      "headers": { "Authorization": "Bearer ${REWALTO_API_KEY}" }
    }
  }
}
```

In the command, your shell puts the key in place of $REWALTO_API_KEY. In .mcp.json, Claude Code fills in ${REWALTO_API_KEY} from the environment when it starts, so the key is never committed.

## Check the connection

1. Reach the server. Run claude mcp list, or /mcp inside Claude Code: rewalto is listed as connected. Rewalto's live tool list has 102 tools; the ones marked for a signed-in dashboard only are refused to an API key. If it shows an error, the key is missing or not accepted: the server answers 401 to a request without a valid key.
2. Call a free tool. Ask the agent: "Use Rewalto's list_catalogue_categories tool and list the categories." The tool is free and spends no credits.
3. Read a result. The answer lists Rewalto's catalogue categories. They match the public list at https://api.rewalto.com/v1/catalogue/categories, which needs no key.

## Check the key from a terminal

```sh
curl -sS https://mcp.rewalto.com/mcp \
  -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
  -H "authorization: Bearer $REWALTO_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"whoami","arguments":{}}}'
```

The answer names your organisation, with credential kind api_key and the key's permissions. It spends nothing.

## Questions people ask

### Do I need an API key to use Rewalto in Claude Code?

Yes. Every request to the MCP server needs a credential, the free catalogue tools included. Send an API key as Authorization: Bearer followed by the key.

### Does connecting cost credits?

No. Connecting, listing the tools and calling the free tools cost nothing. A tool marked as spending credits charges only for data delivered, at the published rate, and a run that delivers nothing costs nothing.

### Which permissions should the key have?

data:read opens the data reads and usage:read the credit balance and usage. Add tools:run only for an agent allowed to create and approve quotes; a tool whose permission the key lacks is refused.

### Where do the Claude Code settings come from?

From Claude Code's MCP documentation, with Rewalto's server address and header filled in. If Claude Code changes its format, its documentation decides.

## Other clients

- [Rewalto MCP in Cursor](https://rewalto.com/developers/mcp/install/cursor)
- [Rewalto MCP in Claude Desktop](https://rewalto.com/developers/mcp/install/claude-desktop)
- [Rewalto MCP in VS Code](https://rewalto.com/developers/mcp/install/vs-code)
- [Rewalto MCP in Windsurf](https://rewalto.com/developers/mcp/install/windsurf)
- [Rewalto MCP in Cline](https://rewalto.com/developers/mcp/install/cline)
- [Rewalto MCP in Zed](https://rewalto.com/developers/mcp/install/zed)
- [Rewalto MCP in Codex](https://rewalto.com/developers/mcp/install/codex)

## Related

- [Rewalto MCP server tools](https://rewalto.com/developers/mcp)
- [API keys](https://rewalto.com/developers/docs/api-keys)
- [API, CLI and MCP reference](https://rewalto.com/developers/docs/cli-mcp)
- [Quick commerce MCP server for India](https://rewalto.com/guides/mcp-server-india-data)
- [Claude Code's MCP documentation](https://code.claude.com/docs/en/mcp)

---

Canonical page: https://rewalto.com/developers/mcp/install/claude-code
Last content change: 2026-11-06
