Claude Code
Connect Claude Code CLI to Odel modules
Claude Code Setup
Claude Code is Anthropic's official CLI tool for coding with Claude. This guide shows you how to connect it to your Odel modules.
Prerequisites
- Claude Code installed (installation guide)
- An Odel account with modules installed
Configuration
Locate Your Settings File
Claude Code stores its configuration in a settings file:
~/.claude/settings.json~/.claude/settings.json%USERPROFILE%\.claude\settings.jsonIf the file doesn't exist, create it.
Add Your Modules
Add each module you want to use to your settings file. You can find the module URL on the module's config page in the marketplace.
{
"mcpServers": {
"calculator": {
"url": "https://mcp.odel.app/Odel/calculator-basic",
"transport": "http"
},
"weather": {
"url": "https://mcp.odel.app/Odel/weather",
"transport": "http"
}
}
}Add one entry per module. The key (e.g., calculator) can be any name you choose.
Restart Claude Code
Close and reopen Claude Code for the changes to take effect. Alternatively, use the /mcp command to reload MCP servers.
Authenticate
When you first use an Odel module tool, Claude Code will prompt you to authenticate. Follow the OAuth flow to log in with your Odel account.
Verification
After configuration, verify that Odel is connected:
# Check available MCP servers
/mcpYou should see odel listed among your connected servers. Try using a tool from one of your installed modules to confirm everything is working.
Example Usage
Once connected, you can use your Odel modules naturally in conversations:
> Use the calculator module to compute 15% of 250
I'll use the calculator module to compute that for you.
Result: 37.5Troubleshooting
Configuration Reference
Full settings file structure with multiple Odel modules:
{
"mcpServers": {
"calculator": {
"url": "https://mcp.odel.app/Odel/calculator-basic",
"transport": "http"
},
"github": {
"url": "https://mcp.odel.app/alice/github-tools",
"transport": "http"
}
}
}| Field | Value | Description |
|---|---|---|
url | https://mcp.odel.app/{creator}/{module} | Module-specific endpoint |
transport | http | HTTP transport |