---
title: "Claude Desktop"
description: "Wire the Claude Desktop app straight into the APIBrasil MCP server and look up CPF, CNPJ, postcodes and the other Brazilian APIs inside your conversations."
lang: en
canonical: https://doc.apibrasil.io/mcp/clientes-ai/claude-desktop
markdown: https://doc.apibrasil.io/mcp/clientes-ai/claude-desktop.md
source: apibrasil-documentation
---

# Claude Desktop

> Wire the Claude Desktop app straight into the APIBrasil MCP server and look up CPF, CNPJ, postcodes and the other Brazilian APIs inside your conversations.

- **Category:** AI clients
- **Difficulty:** Easy
- **Protocol:** connects to the MCP server
- **Updated on:** January 14, 2026

## Prerequisites

- Claude Desktop app installed
- An active APIBrasil account

## Configuration

- **File:** `claude_desktop_config.json`

```json
{
  "mcpServers": {
    "https://mcp.apibrasil.cloud/mcp": {
      "name": "APIBrasil MCP",
      "url": "https://mcp.apibrasil.cloud/mcp"
    }
  }
}
```

## Step by step

1. **Find the configuration file** — Mac: `~/Library/Application Support/Claude/claude_desktop_config.json`
   Windows: `%APPDATA%\Claude\claude_desktop_config.json`
   Linux: `~/.config/Claude/claude_desktop_config.json`
2. **Edit the configuration file** — Open the file in your editor of choice and add the MCP server configuration
   ```json
   {
     "mcpServers": {
       "https://mcp.apibrasil.cloud/mcp": {
         "name": "APIBrasil MCP",
         "url": "https://mcp.apibrasil.cloud/mcp"
       }
     }
   }
   ```
3. **Confirm the MCP endpoint** — Make sure the configured endpoint is exactly https://mcp.apibrasil.cloud/mcp
4. **Restart Claude Desktop** — Quit Claude Desktop completely and open it again so it picks up the configuration
5. **Check the connection** — Ask Claude "which MCP tools do you have available?" — the APIBrasil APIs should be in the list
6. **Try an API** — Ask Claude: "look up postcode 01310-100" and watch it reach for the MCP on its own

## Troubleshooting

- **Claude does not see the MCP server** — Check that the configuration file is in the right place and that the JSON is well formed — no trailing commas
- **Authentication error** — Confirm that your APIBrasil account is active and that MCP access is enabled on it
- **The MCP server never shows up in Claude** — Quit Claude Desktop completely, reopen it, and check the JSON for syntax errors
- **Claude reports a timeout** — The MCP server may be overloaded or down. Check the status at https://status.apibrasil.com.br

## Related links

- [Download Claude Desktop](https://claude.ai/download)
- [Get your APIBrasil tokens](https://doc.apibrasil.io/login)
- [Other AI integrations](https://doc.apibrasil.io/mcp/clientes-ai.md)
- [Examples with Claude](https://doc.apibrasil.io/mcp/exemplos/claude.md)

## See also

- MCP guide: [MCP guide](https://doc.apibrasil.io/mcp.md)
- Documentation index: https://doc.apibrasil.io/llms.txt
- HTML version of this page: https://doc.apibrasil.io/mcp/clientes-ai/claude-desktop
