> For the complete documentation index, see [llms.txt](https://docs.learncard.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.learncard.com/products/learn-card-app/connect-ai-agent.md).

# Use LearnCard with Claude or ChatGPT

Let Claude or ChatGPT read your LearnCard so it can tailor help to what you've actually learned.

Connect your AI assistant (e.g. Claude or ChatGPT) to LearnCard to enable personalized learning experiences. Your AI will be able to access your learning context, ask questions about your background, and save learning session summaries as verifiable credentials.

You'll paste this address into your assistant's settings:

```
https://mcp.learncard.ai/
```

## What your assistant can do once connected

Once connected, your assistant can see your LearnCard — your credentials and learning history — with your permission, and use that context in the conversation: tutoring that picks up where you left off, career advice grounded in what you've actually earned, or help deciding what to learn next. You stay in control: you approve what it can access when you connect, and you can disconnect at any time.

Below are instructions for connecting the LearnCard MCP server with Claude or ChatGPT.

***

## Claude

Requires Claude **Pro** or higher.

{% embed url="<https://www.loom.com/share/a18c5bc1bd8349c5a80d898ecd149eb9>" %}

<details>

<summary>Screenshots of steps</summary>

#### **Steps:**

1. Go to [https://claude.ai](https://claude.ai/) and sign in.
2. Click your profile picture (bottom-left).

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FfEVROgAcayn6jtZkSJk8%2Fimage.png?alt=media&amp;token=897e6e60-5800-43a1-8497-59214b99d7e1" alt=""><figcaption></figcaption></figure>

3. Click `Settings`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FGrLLOV1wklLIZQ4jdtXL%2Fimage.png?alt=media&amp;token=03c65535-885c-4a47-abb6-4e231f8074b4" alt=""><figcaption></figcaption></figure>

4. Click `Connectors`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FQqU3Xvv7OPzaBYFnJNmR%2Fimage.png?alt=media&amp;token=9cc05261-ab37-43a8-aa37-f36d620dec68" alt=""><figcaption></figcaption></figure>

5. Click `Add custom connector`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FSfKYtIuWsjjRa2gjl2OD%2Fimage.png?alt=media&amp;token=e3c23001-4ba0-40d8-9a2d-6cc3a53b31ec" alt=""><figcaption></figcaption></figure>

6. Enter:

* **Name:** `LearnCard`
* **Remote MCP Server URL:**

  ```
  https://mcp.learncard.ai/
  ```

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FASDOF5HHegdR0fj78V5a%2Fimage.png?alt=media&amp;token=0bfff31d-ad7a-426b-9c2b-778de7b4afef" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FYCDfC7OEVagfWdN4ca2l%2Fimage.png?alt=media&amp;token=d6b1c591-d0f1-4df3-9ac9-91a99580b7d7" alt=""><figcaption></figcaption></figure>

7. Click `Add`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FHhvfZ2RP1IZh5Bxo2CTI%2Fimage.png?alt=media&amp;token=ab597e87-9a51-41b6-b8aa-d51a4d437312" alt=""><figcaption></figcaption></figure>

8. Click `Connect` next to the LearnCard custom connector

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FPLn2tj6Nilpp1Ovmde8R%2Fimage.png?alt=media&amp;token=4f736696-0c97-48bf-93b6-1030103287a5" alt=""><figcaption></figcaption></figure>

9. You should be re-directed to learncard.app. Sign in and click `Continue as <Your Name>`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2F4P7wlhQhK9klOR9UTV0U%2Fimage.png?alt=media&amp;token=4f37e225-67e3-43e5-9634-fa9c108cf277" alt=""><figcaption></figcaption></figure>

10. You should be redirected to claude.ai and see a confirmation. The connector will now show `Configure`.

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FFKRzQoUahwLwPclU8ecK%2Fimage.png?alt=media&amp;token=32f8387a-f5a1-4016-8d7d-77dcac9505fc" alt=""><figcaption></figcaption></figure>

11. Now, to confirm Claude has access to the LearnCard connector during live chats, start a new chat with Claude and click this button:

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FaYe18VHtaCC2cjiOFhk0%2Fimage.png?alt=media&amp;token=2b2bf579-6dbd-4450-963f-51d76400639a" alt=""><figcaption></figcaption></figure>

12. Make sure the LearnCard connector is enabled. It should be toggled on as shown in the picture below.

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FfyBIs6Q9aIkNTFoh3R2w%2Fimage.png?alt=media&amp;token=7d9c71e4-e720-447f-8adf-368a31325251" alt=""><figcaption></figcaption></figure>

13. Now, start a learning session with Claude. If it asks for permission to call the tools provided by the LearnCard connector, it’s working! Allow Claude to use the LearnCard connector and continue your AI tutoring session.

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FsS0lwYJE14p0t8CVzRx9%2Fimage.png?alt=media&amp;token=20b943bc-f962-4724-9f38-1f0571783022" alt=""><figcaption></figcaption></figure>

</details>

***

## ChatGPT

Requires ChatGPT **Plus** or higher.

{% embed url="<https://www.loom.com/share/d90d6fbb70c54514a0704f73735818cc>" %}

<details>

<summary>Screenshots of steps</summary>

**Steps:**

1. Go to <https://chatgpt.com/> and sign in.
2. Click your profile picture (bottom-left)

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FKWdAVS8Y2BPOURgRx9Ss%2Fimage.png?alt=media&amp;token=cae2d3bd-fb38-42d4-a6f6-abf8343c8737" alt=""><figcaption></figcaption></figure>

3. Click `Settings`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FWvL4AQJKd6lEOgL8RQzl%2Fimage.png?alt=media&amp;token=caf4a6b8-5639-4bc3-b516-36764c154e35" alt=""><figcaption></figcaption></figure>

4. Click `Apps & Connectors`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FCzLAqSd3l5c6yF8E5QjA%2Fimage.png?alt=media&amp;token=b2273f57-f5f7-4f7b-b0f0-8420bdeee784" alt=""><figcaption></figcaption></figure>

5. Scroll down

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FBCZKIYOsB1L4b7G6ZLEn%2Fimage.png?alt=media&amp;token=9d1687b2-5e31-486b-9a42-3a5d4153a6ac" alt=""><figcaption></figcaption></figure>

6. Click `Advanced settings`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FObIwlD9tRxa9urXefuyO%2Fimage.png?alt=media&amp;token=89fcb2de-674e-4191-bd12-2586119a9dcc" alt=""><figcaption></figcaption></figure>

7. Toggle on `Developer mode`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FcAoevUfP0zchNn95dhpk%2Fimage.png?alt=media&amp;token=27881ed9-d8e2-4769-9839-84a085680cec" alt=""><figcaption></figcaption></figure>

8. Click `Back`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FdC4ETcY0JcWEvNTkEuiP%2Fimage.png?alt=media&amp;token=24b5b04e-20a7-4cff-a402-40a4c8e0d0d7" alt=""><figcaption></figcaption></figure>

9. Click `Create app`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FXV62pyGnQevi13qyx946%2Fimage.png?alt=media&amp;token=082be498-71b4-4074-925d-1b24a7528ea5" alt=""><figcaption></figcaption></figure>

10. Enter:

* **Name:** `LearnCard`
* **MCP Server URL:**

  ```
  https://mcp.learncard.ai/
  ```
* Check `I understand and want to continue`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FovHi3Mi7cHbnLyolHYH0%2Fimage.png?alt=media&amp;token=2ca16667-a3f5-4a4f-81f0-ed736497cac0" alt=""><figcaption></figcaption></figure>

11. Click `Create`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FkBM2b6qAafZI2VB2T314%2Fimage.png?alt=media&amp;token=c3f3f7d5-c28c-471b-bf55-47a7783d2bd0" alt=""><figcaption></figcaption></figure>

12. Sign in to learncard.app if prompted, then click `Continue as <Your Name>`

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2F4P7wlhQhK9klOR9UTV0U%2Fimage.png?alt=media&amp;token=4f37e225-67e3-43e5-9634-fa9c108cf277" alt=""><figcaption></figcaption></figure>

13. You should be redirected back to chatgpt.com and see a confirmation. The connector will now show a red `Disconnect` button.

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2Fk3jWkq8T8AAnETlU5GWV%2Fimage.png?alt=media&amp;token=ae9d3abb-1261-43d7-a9b2-056e3def2772" alt=""><figcaption></figcaption></figure>

14. Start a new chat with ChatGPT and click the `+` button

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FhGVZJ1oEb8DxbHe8QPrZ%2Fimage.png?alt=media&amp;token=72c008d1-19f1-4044-bf75-7199d7ae4711" alt=""><figcaption></figcaption></figure>

15. Click `More` and select `LearnCard` .

    <figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FBLX2Q1gUY6VGty14Ckda%2Fimage.png?alt=media&amp;token=e9559365-21ff-4e9d-afbd-a2df2b2a4ebd" alt=""><figcaption></figcaption></figure>
16. ChatGPT should now show LearnCard attached to the chat input. When you send a message, ChatGPT will request permission to use the connector — that means it’s working! Approve access to continue your AI tutoring session.

<figure><img src="https://2783966783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFXvEJ9j3Vf3FW5Nc557n%2Fuploads%2FCeGxDWD2XLeYjKNO3Ok7%2Fimage.png?alt=media&amp;token=1913e09f-4c90-4134-b090-8e915c8d5608" alt=""><figcaption></figcaption></figure>

</details>

## Troubleshooting

* **Connector not showing**: Make sure you enable it in the chat interface (the `+` or connector button).
* **Can't see credentials**: Sign in at [learncard.app](https://learncard.app) first to ensure your wallet is active.

## Next steps

* Building an AI tutor that issues credentials? Check out [Publish Your App](/build/publish-your-app.md).
* Want to understand how consent works? Read the [ConsentFlow overview](/understand/consentflow-overview.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.learncard.com/products/learn-card-app/connect-ai-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
