# How to connect Claude to NotebookLM with Kortex MCP

> Connect Claude, ChatGPT, Cursor or Codex to your NotebookLM (Gemini Notebook) notebooks with Kortex MCP, using sign-in or an API key.

https://www.kortex-notebooklm.com/tutorials/how-to-connect-claude-to-notebooklm

1.  [Tutorials](/tutorials)
2.  How to connect Claude to NotebookLM with Kortex MCP

# How to connect Claude to NotebookLM (Gemini Notebook) with Kortex MCP

5 minutes 7 steps Updated November 5, 2026

## Quick answer

With Chrome open, run claude mcp add --transport http kortex https://mcp.kortex-notebooklm.com/mcp in Claude Code. Sign in when the browser opens. Claude Desktop, Claude on the web and ChatGPT use the same address as a custom connector. Cursor and Codex use an API key.

## Watch it first

Use your notebooks from Claude and ChatGPT.

## What you need

-   The [Kortex extension](https://chromewebstore.google.com/detail/kortex/hdapplggdhndkblofffknpmnnnnbncbn) in Chrome, signed in to your Kortex account
-   Chrome open while you use it. Calls run inside the extension
-   The assistant you want to connect. Codex also needs Node.js, because it runs npx (a Node.js tool)

## On this page

1.  [Connect Claude Code](#step-1)
2.  [Connect Claude Desktop or Claude on the web](#step-2)
3.  [Connect ChatGPT](#step-3)
4.  [Make an API key for Cursor or Codex](#step-4)
5.  [Connect Cursor](#step-5)
6.  [Connect Codex](#step-6)
7.  [Ask your first question](#step-7)
8.  [If it doesn’t work](#trouble)
9.  [Questions](#faq)

1.  ## Connect Claude Code
    
    Run this in a terminal: `claude mcp add --transport http kortex https://mcp.kortex-notebooklm.com/mcp`. Your browser opens a Kortex consent page. Sign in to connect.
    
2.  ## Connect Claude Desktop or Claude on the web
    
    In the message box, open **+**, then **Connectors**, **Add connector** and **Add custom connector**. Name it Kortex. Paste `https://mcp.kortex-notebooklm.com/mcp` into the URL field and press **Continue**. Sign in on the Kortex page.
    
3.  ## Connect ChatGPT
    
    Turn on developer mode under **Settings**, **Security and login**, **Developer mode**. Open **Plugins**, then the **Personal** tab, then **Add** and **Create MCP App**. Name it Kortex. Put the address in **Server URL**. Set **Authentication** to **OAuth**. Tick the warning box and click **Create**.
    
4.  ## Make an API key for Cursor or Codex
    
    In the Kortex side panel, open the ⋯ menu and choose **MCP Connection**. Name the key, pick a profile, and click **Generate key**. You can also click **Create key** on the Workspace's **Agents** page. The key starts with kx\_mcp\_. Kortex shows it only once.
    
    [![The Agents page of the Kortex Workspace: access keys for Claude Desktop and Cursor with what each may do and when it was last used.](/media/features/agents.webp)](/media/features/agents.webp)
    
    Agents: one key for each AI app, and what each can do.
    
5.  ## Connect Cursor
    
    Add this to `.cursor/mcp.json` in your project, or to `~/.cursor/mcp.json` for every project: a `kortex` entry under `mcpServers`. Set the address as `url`. Add a `headers` object whose `Authorization` is `Bearer` and your key. Then check **Settings**, **MCP** for a green light.
    
6.  ## Connect Codex
    
    Add a `[mcp_servers.kortex]` block to `~/.codex/config.toml`. Set `command` to `npx`. Set `args` to `-y`, `mcp-remote`, the address, `--header` and `Authorization: Bearer` followed by your key.
    
7.  ## Ask your first question
    
    With Chrome open and Kortex signed in, ask your assistant 'List my Gemini notebooks.' The first call after Chrome has been idle can take up to 30 seconds.
    

## If it doesn’t work

Tools are listed but every call fails or times out

Kortex needs Chrome running, with the extension on and signed in to the same account. A minimized window is fine. A quit Chrome is not. Ask your assistant to call get\_status.

The first call is very slow

Chrome pauses idle extensions, so Kortex can take up to 30 seconds to wake. Later calls are fast. If your client has a short tool timeout, raise it to at least 60 seconds.

The assistant says a tool does not exist

The key's profile hides it. A Read-only key does not show write tools. Make a Standard key if the assistant needs to make changes.

Claude Desktop or Codex shows no Kortex tools

These use npx mcp-remote, so you must install Node.js. Check the JSON or TOML for a typo. Then fully quit and reopen the app.

I lost my key

Kortex shows a key once and stores only a hash of it. Revoke it on the Agents page and generate a new one.

## Questions people ask

Something we missed? [Ask us](#contact).

### Do I need a Kortex account?

Yes. You sign in with your Kortex account. Claude Code, Claude Desktop, Claude on the web and ChatGPT connect through the browser. Cursor and Codex use a key.

### Do I need an API key?

Not for Claude Code, Claude Desktop, Claude on the web or ChatGPT. They sign in with OAuth (a sign-in through your browser). Cursor and Codex use a key. So does any setup with no browser.

### Which key profile should I pick?

Start with Read-only, the default. Use Standard for renames and moves. Full includes deletes, so use it only when you are watching.

### Can I keep Claude from deleting things?

Yes. In Claude's connector settings you can set a tool to ask every time, or to never run. A Read-only or Standard key never allows deletes. Both limits apply together.

## Keep going

[Kortex MCP Let Claude, ChatGPT, Cursor or Codex read, import, organize and generate in your notebooks.](/features/kortex-mcp) [Kortex docs The full reference for this feature, with every option.](/docs/mcp-server)

### More tutorials

-   [How to let Claude search your ChatGPT history](/tutorials/how-to-let-claude-search-your-chatgpt-history)
-   [How to add notes to ChatGPT conversations](/tutorials/how-to-add-notes-to-chatgpt-conversations)
-   [How to add YouTube videos and playlists to NotebookLM](/tutorials/how-to-add-youtube-videos-to-notebooklm)
-   [How to archive ChatGPT chats and find them again](/tutorials/how-to-archive-chats-in-chatgpt)

[All tutorials](/tutorials)

## Do it on your own notebooks.

Install the Kortex extension and follow these steps on a notebook you already have.

[Add to Chrome](https://chromewebstore.google.com/detail/kortex/hdapplggdhndkblofffknpmnnnnbncbn)

100,000+ users, rated 4.5 on the Chrome Web Store.
