[MCP Server] 
 Connect Claude, ChatGPT, Gemini or another MCP-compatible AI assistant to the SheetsFinance MCP server, then ask it for a stock model or finance spreadsheet. It hands you one of our published models with your ticker filled in, or builds a new workbook from SheetsFinance formulas, and the data loads live in your own Google Sheet or Excel workbook. Connect with your SheetsFinance account, or with a Connection ID for a team account managed by an admin.

Working in Google Sheets or Excel already? [SheetsFinance AI](https://sheetsfinance.com/docs/sheetsfinance-ai-hesow) is the assistant built into the SheetsFinance add-on. It builds, explains and fixes formulas in the workbook you have open, with no connector to set up. The MCP server is for AI agents outside your spreadsheet. You can use both.

---

## What the MCP server does

The server gives your AI assistant SheetsFinance tools for four jobs:

- **Hand you a published model.** The assistant lists our ready-made models (DCF valuation, WACC, Graham number, DuPont, growth, earnings, ETF analysis, dividend and total return calculators, watchlists and portfolio trackers) and gives you one with your ticker already entered.
- **Build a custom workbook.** For anything the published models don't cover, it plans validated SheetsFinance formulas and builds a new workbook around them, with your inputs, labels and calculations.
- **Write exact formulas.** It looks up the arguments, metrics and options of every SheetsFinance function, so the formulas it gives you work as written.
- **Answer SheetsFinance questions.** It searches and reads these docs.

The tools never return financial values in chat. Prices, statements and ratios load inside your spreadsheet once the SheetsFinance add-on is installed and connected, and they keep refreshing there. If you ask for a value, such as a share price or a WACC, the assistant gives you the model or the `=SF` formula that shows it.

---

## What you need

- An MCP-compatible client or AI assistant that supports custom server connections
- A SheetsFinance account you can sign in to, or a `Connection ID` from your [Account Dashboard](https://sheetsfinance.com/account). New accounts start with a 15-day free trial, no card required.
- The SheetsFinance add-on for [Google Sheets](https://sheetsfinance.com/docs/google-sheets-ld1i3) or [Microsoft Excel](https://sheetsfinance.com/docs/microsoft-excel-wjn7n), so the data loads in the files your assistant gives you

---

## Add SheetsFinance to your AI assistant

Add this URL as a custom connector, or custom MCP server, in your AI assistant:

> `https://data.sheetsfinance.com/mcp`

The first time the assistant connects, it opens the SheetsFinance authorization page, where you approve access with your account or a team Connection ID. Where you add the URL depends on your assistant: Claude, ChatGPT, Gemini, or a developer tool such as Claude Code, Cursor or VS Code.

### Claude

Custom connectors work on every Claude plan, and the Free plan allows one custom connector.

1. In Claude, open **Customize > Connectors**.
2. Click **+ Add**, then **Add custom connector**.
3. Enter `SheetsFinance` as the name, paste the URL and click **Continue**.
4. Keep the detected authentication settings and click **Continue**.
5. Under **Authentication**, choose **Sign in now**, then click **Add**.
6. Approve access on the SheetsFinance authorization page.

On Team and Enterprise plans, an Owner first adds the connector for the organization in **Organization settings > Connectors**, using **Add > Custom > Web**. Each member then opens **Customize > Connectors** and clicks **Connect** next to SheetsFinance.

To use it, click **+** at the bottom left of a chat, select **Connectors** and check that SheetsFinance is turned on. The connector also works in Claude Desktop and the Claude mobile apps. For other options, see Claude's [custom connector guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp).

### ChatGPT

Custom MCP servers work in ChatGPT on the web for Business, Enterprise and Edu workspaces. On Business, only admins and owners can add one. Enterprise and Edu admins can also give other members permission.

1. In ChatGPT on the web, open **Plugins**.
2. Select the **+** button, then **Add custom MCP server**.
3. Enter `SheetsFinance` as the name.
4. Under **Connection**, enter the URL.
5. Choose OAuth for authentication.
6. Select **I understand and want to continue**, then **Create as a plugin**.
7. Approve access on the SheetsFinance authorization page.

To use it, type **@** in a new chat and select SheetsFinance. ChatGPT uses it for that message only, so select it again when a follow-up needs a new model or workbook. An admin can publish it for the whole workspace, as described in OpenAI's [guide to custom MCP servers](https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt).

On ChatGPT Pro, ChatGPT allows only read-only tools from custom MCP servers. The assistant can find models, write formulas and answer SheetsFinance questions, but it can't create files for you.

### Gemini

Custom apps work in the Gemini web app with a personal Google Account, for people 18 or older in the US. Gemini must be set to English and Keep Activity must be on. Work and school accounts aren't supported.

1. Go to [gemini.google.com](https://gemini.google.com).
2. Click **Settings**, then **Connected Apps**. If you don't see Connected Apps, click **Personal Intelligence** first.
3. Under **Custom apps**, click **Add a custom app**.
4. Enter the URL and click **Next**.
5. Approve access on the SheetsFinance authorization page.

To use it, type **@** in a chat and select SheetsFinance. Once you add it on the web, it also works in the Gemini mobile app. Google's [custom apps guide](https://support.google.com/gemini/answer/17209137) explains how to turn it off or remove it.

### Claude Code, Cursor and VS Code

Developer tools use the same URL and open your browser to sign in the first time they connect.

In Claude Code, run this command, then run `/mcp` and select SheetsFinance to sign in:

```bash
claude mcp add --transport http sheetsfinance https://data.sheetsfinance.com/mcp
```

In Cursor, add the server to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "sheetsfinance": {
      "url": "https://data.sheetsfinance.com/mcp"
    }
  }
}
```

In VS Code, add it to `.vscode/mcp.json` in your workspace:

```json
{
  "servers": {
    "sheetsfinance": {
      "type": "http",
      "url": "https://data.sheetsfinance.com/mcp"
    }
  }
}
```

---

## Connect with your SheetsFinance account

Most AI assistants connect through a secure authorization page. You approve access once with the account you sign in to, and the assistant keeps that access until you disconnect it from your account.

1. Start the connection from your AI assistant, such as Claude or ChatGPT. The assistant opens the SheetsFinance authorization page.
2. If you are signed out, sign in or create an account. Your connection request waits while you finish sign-up and onboarding, then you return to the authorization page.
3. Review the access the assistant is requesting. It can look up SheetsFinance functions and create new spreadsheet files for you, using your plan's data access. It cannot open your existing spreadsheets, see your billing details or change your account.
4. Select **Allow access**. Your AI assistant can now use the SheetsFinance MCP server to search docs, answer SheetsFinance questions, and build spreadsheets and dashboards for you. Selecting **Cancel** grants no access.

> [!INFO]
> If the authorization page says the link has expired, start the connection again from your AI assistant.

---

## Connect a team account with a Connection ID

If you use a team account managed by an admin, approve the connection with the team's `Connection ID` instead of your own account. The assistant then uses the team connection's plan and data access rather than the account you are signed in with.

1. Start the connection from your AI assistant as described above, so you reach the authorization page.
2. Choose the option to connect with a team Connection ID instead of the signed-in account.
3. Paste the `Connection ID` from your admin.
4. Approve the connection.

The Connection ID must belong to an active connection with an active subscription. If it does not, the page shows **That Connection ID is not active.**

---

## Manage connected assistants

Review and remove an assistant's access from your Account Dashboard. The **Connected AI assistants** section lists each active authorization with its connection type, the date it was connected, and, where available, the date it was last refreshed.

1. Open your [Account Dashboard](https://sheetsfinance.com/account).
2. Find the **Connected AI assistants** section.
3. Select **Disconnect** next to the assistant you want to remove.

Disconnecting stops the assistant's access within 15 minutes, and the entry disappears from the list once the disconnect completes.

---

## Get a published model with your ticker filled in

Ask for a model by what it does and name your ticker and platform. The assistant picks the closest published model from our [template library](https://sheetsfinance.com/docs/pre-built-templates-1rf5f) and gives you your own copy. Example prompts:

- "Build a DCF valuation model for NVDA that I can open in Excel."
- "I use Google Sheets. Give me a WACC calculator for Tesla."
- "Show me Coca-Cola's Graham number in a spreadsheet."
- "Give me an ETF analysis sheet for SPY."

Models without a single ticker input, such as watchlists and portfolio trackers, arrive empty. The assistant tells you which cells to fill in.

---

## Build a custom workbook

When no published model fits, the assistant plans the SheetsFinance formulas your request needs and builds a new workbook around them. Describe the companies, metrics and periods you want. Example prompts:

- "Make an Excel workbook comparing gross and operating margins for AAPL, MSFT and GOOGL over the last five years."
- "Build a dividend tracker in Google Sheets for KO, PEP and JNJ with yield and payout ratio."
- "Create a quarterly earnings sheet for MSFT with revenue, EPS and estimates."

Custom workbooks are created for Excel or Google Sheets, whichever you ask for. In an AI-enabled spreadsheet such as **Claude in Excel**, the assistant can write the formulas straight into your open workbook instead.

---

## Excel downloads and Google Sheets copy links

How you receive a file depends on your platform:

| Platform | What you get | Ticker |
| --- | --- | --- |
| Excel | A download link to an `.xlsx` file. The link works for 7 days, so save the file to keep it. | Already entered |
| Google Sheets | A copy link. Opening it makes your own copy of the sheet in your Google Drive. The link works for 7 days, so make your copy to keep it. | Already entered |

Custom Google Sheets workbooks open on a short **Start here** tab with setup steps. Until the add-on has loaded in the file, SheetsFinance formulas show `#NAME?` (or `#BUSY!` in Excel):

- **Excel:** when you open the file, Excel offers to add the SheetsFinance add-in if you don't have it. Sign in when it opens.
- **Google Sheets:** open **Extensions → SheetsFinance → Account** once in your copy and check that you're connected.

---

## Plan limits and daily limits

The assistant uses the same data access as your spreadsheet:

- Formulas in the files load the data your plan includes. A model that needs a dataset outside your plan, such as options data, shows an access message in the cell until you upgrade. Compare plans on [Pricing and plans](https://sheetsfinance.com/docs/pricing-and-plans-xgwqy).
- Each connection can create up to 50 files a day. This counts every workbook made for you in Excel or Google Sheets, including published models filled with your ticker. Published model links without a ticker don't count.
- Each connection can make up to 150 MCP requests an hour.
- Download and copy links expire after 7 days.
- The MCP server has no separate charge and doesn't use SheetsFinance AI credits.

When you reach a limit, the assistant tells you, and you can try again the next day or hour.

---

## Supported AI assistants

We test the MCP server with Claude, including **Claude in Excel**, and with Gemini, where you add it as a custom connector. Any other AI assistant that supports custom MCP servers, such as ChatGPT, connects with either method above. If an assistant doesn't support the authorization page, use the advanced method below.

---

## Advanced: Connect to the MCP server without OAuth

Advanced: for clients that do not support OAuth, connect directly with a Connection ID. Connections made this way continue to work.

> [!WARNING]
> This method puts your Connection ID in the server URL. Anyone who has that URL can use your connection and its plan's data access, so do not share the URL publicly or with anyone who should not use your connection.

1. Copy your `Connection ID` from your [SheetsFinance Account Dashboard](https://sheetsfinance.com/account).
2. In your MCP client, open the custom server or MCP settings.
3. Enter the MCP server URL, replacing `XXX` with your Connection ID:

> `https://data.sheetsfinance.com/mcp/?conn=XXX`

4. Save the server. Your AI assistant can now use the SheetsFinance MCP server to search docs, answer SheetsFinance questions, and build spreadsheets and dashboards for you.

## What's next

- [MCP server for AI agents](https://sheetsfinance.com/mcp): example prompts and how SheetsFinance works with Claude, ChatGPT and Gemini
- [SheetsFinance AI](https://sheetsfinance.com/docs/sheetsfinance-ai-hesow): the assistant inside Google Sheets and Excel
- [Pre-built Templates](https://sheetsfinance.com/docs/pre-built-templates-1rf5f) — browse the published models your assistant can hand you
- [Account and Pricing](https://sheetsfinance.com/docs/account-and-pricing-1d2gf) — manage your Connection ID, billing, and subscription
- [Microsoft Excel](https://sheetsfinance.com/docs/microsoft-excel-wjn7n) — install and connect the SheetsFinance Excel add-in
- [Google Sheets](https://sheetsfinance.com/docs/google-sheets-ld1i3) — install and connect the SheetsFinance Google Sheets add-on
- [Build your first formula](https://sheetsfinance.com/docs/build-your-first-formula-tewmv) — start using SheetsFinance data in your spreadsheets