Method 1: Primary Model Provider
Neosantara provides an Anthropic-compatible protocol endpoint at/anthropic.
1
Install Claude Code CLI
2
Configure Environment Variables
Set the base URL to the Neosantara gateway and export your API key:To persist these across terminal sessions, add them to your shell configuration (
~/.bashrc or ~/.zshrc).3
Launch Claude Code
Navigate to your project directory and execute:Claude Code connects to Neosantara using the default flagship model
claude-sonnet-4-6.Method 2: Adding Neosantara MCP Server
To equip Claude Code with Neosantara tools such as image generation or model catalog queries, attach Neosantara as an MCP server:MCP connections require a dedicated API key with the
nsk_mcp_ prefix. Generate one via the API Keys Dashboard or follow the MCP API Keys guide.Verifying MCP Server Status
Check active configured MCP servers:neosantara with active status and listed available tools.