> For the complete documentation index, see [llms.txt](https://nexafin.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexafin.gitbook.io/api/mcp/quick-start.md).

# Quick Start

## Claude

### Claude Code (CLI)

```bash
claude mcp add --transport http nexafin https://app.nexafin.com/mcp
```

You will be prompted to authorize via OAuth the first time you use a Nexafin tool.

### Claude Desktop

You can connect Nexafin to Claude Desktop using the built-in Connectors UI or by editing the config file.

#### Option A: Connectors UI (recommended)

1. Open Claude Desktop and go to **Settings → Connectors**, then click **Add custom connector**

<figure><img src="/files/8BLlTtt9GqL4XxyN9wmO" alt="Claude Desktop Settings — Connectors page"><figcaption></figcaption></figure>

2. Or from the **Customize** panel, click the **+** button next to Connectors

<figure><img src="/files/xu5WIom0ZAq1nTTwhT8L" alt="Claude Desktop Customize — Connectors + button"><figcaption></figcaption></figure>

3. Enter the connector name (`Nexafin`) and URL (`https://app.nexafin.com/mcp`), then click **Add**

<figure><img src="/files/4lkP3u8MP6fig85jLA1i" alt="Claude Desktop custom connector form with Nexafin URL"><figcaption></figcaption></figure>

4. After connecting, you can manage tool permissions — all 4 tools are read-only

<figure><img src="/files/s0h43U0PIm1XkTWs2oNG" alt="Claude Desktop Nexafin tool permissions"><figcaption></figcaption></figure>

#### Option B: Config file

{% tabs %}
{% tab title="macOS" %}
Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "nexafin": {
      "url": "https://app.nexafin.com/mcp"
    }
  }
}
```

{% endtab %}

{% tab title="Windows" %}
Edit `%APPDATA%\Claude\claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "nexafin": {
      "url": "https://app.nexafin.com/mcp"
    }
  }
}
```

{% endtab %}
{% endtabs %}

Restart Claude Desktop. You will be prompted to authorize Nexafin via OAuth the first time you use an MCP tool.

## ChatGPT

ChatGPT supports MCP servers natively. Add Nexafin as an MCP connection:

1. Open ChatGPT Settings and go to **Apps**

<figure><img src="/files/jWEYUNb9v3zxpBxpIWDN" alt="ChatGPT Settings — Apps page"><figcaption></figcaption></figure>

2. Click **Create app**, enter the name (`Nexafin`), the MCP Server URL (`https://app.nexafin.com/mcp`), select **OAuth** for authentication, and check the risk acknowledgment

<figure><img src="/files/vjhloHywEQrx8pveIZfu" alt="ChatGPT New App form with Nexafin MCP URL"><figcaption></figcaption></figure>

3. Click **Create** and authorize with your Nexafin account when prompted

## Your first request

Once connected, just ask your AI assistant a question:

> "What are my account balances?"

The assistant will call the `get_account_balances` tool and return your balances in a readable format.

### Example conversation

> **You:** What did I spend on food this month?
>
> **Assistant:** *(calls `get_transactions` with type: "expense", search: "food")*
>
> Let me check your recent food-related expenses...
>
> Here are your food transactions this month:
>
> * Mar 7: Whole Foods — $85.20
> * Mar 5: DoorDash — $32.50
> * Mar 3: Trader Joe's — $67.80
>
> Total: $185.50 on food this month.

{% hint style="warning" %}
MCP access requires an active PRO subscription. If you see a subscription error, visit [app.nexafin.com](https://app.nexafin.com) to upgrade.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://nexafin.gitbook.io/api/mcp/quick-start.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
