Connect Clema to Cursor, VS Code, Claude Code and Codex

Add the Clema MCP server at https://mcp.clema.ai/mcp to your editor or coding agent. Claude Code and Codex each take one command. Cursor, VS Code and Windsurf take a short JSON entry in their MCP config file. All of them sign you in to Clema in the browser.

On this page

Before you start

  • A Clema account on a paid plan. You can start with a free trial.
  • One of the clients below, already installed.

Add the server

ClientHow to add Clema
Claude CodeRun claude mcp add --transport http clema https://mcp.clema.ai/mcp
CodexRun codex mcp add clema --url https://mcp.clema.ai/mcp, then codex mcp login clema
Cursor, VS Code, WindsurfAdd the JSON entry below to the client's MCP config file.

The JSON entry

For Cursor, VS Code and Windsurf, add an entry named clema under mcpServers in the client's MCP config file, with type set to http and url set to https://mcp.clema.ai/mcp. The exact JSON, ready to copy, is on the MCP server page. Where the config file lives differs by client, so check your client's documentation for its location.

Sign in

  1. Step 1: Start the client, or reload its MCP servers.

    The first time it connects, it opens a Clema page in your browser.

  2. Step 2: Sign in to Clema if asked.

    The page reads Sign in to connect followed by the app's name.

  3. Step 3: Read the consent page.

    It names the app, shows where access will be sent, lists your organizations with your role in each, and lists what the app will be able to do.

  4. Step 4: Select Allow. Select Cancel if you did not start this connection yourself.

  5. Step 5: Return to the client and ask a question that uses Clema.

Connection details

  • URL: https://mcp.clema.ai/mcp
  • Transport: Streamable HTTP
  • Sign-in: OAuth in the browser. There is no API key to copy.

Disconnect

Clema has no screen that lists or revokes connected apps. To disconnect, remove the Clema connector in the app's own settings. If you need access revoked on Clema's side, email support@clema.ai. In an editor, that means deleting the clema entry from the MCP config file.

Troubleshooting

This link is not valid. Close this window and start the connection again from your app.
The sign-in link expired or was opened twice. Close the window and start the connection again from the app.
You are not a member of any organization in Clema yet
Create or join an organization first. See Set up your organization.
Your session has expired. Please sign in again.
Sign in to Clema again, then restart the connection from the app.
This is taking longer than expected
Wait a moment, then select Try again. If it still fails, start the connection again from the app.
You are signed in to the wrong Clema account.
Select Not you? Use a different account on the consent page.
The client lists the server but shows no tools.
Sign-in did not finish. Reload the MCP servers in the client and complete the Clema consent page. In Codex, run codex mcp login clema.

Common questions

Does this work with any MCP client?
It works with clients that support remote MCP servers over Streamable HTTP with OAuth sign-in.
Do I need a paid Clema plan?
Yes. The MCP server is part of paid Clema plans, and you can start with a free trial.
Is there anything to install?
No. The server is hosted by Clema. You only add its URL to your client.
Which tools does my agent get?
Tools for data requests and for IPEDS and College Scorecard queries. The MCP server page lists each one and says whether it changes anything.

Related articles