Claude Desktop Integration
AVELIN API can be used with Claude Desktop — Anthropic's official desktop application and the reference client for the Model Context Protocol (MCP). While Claude Desktop natively connects to Anthropic's API, it can be extended with AVELIN models through MCP adapters, giving you access to frontier intelligence with deep tool integration.
Why AVELIN + Claude Desktop? The definitive MCP client connected to AVELIN's frontier models — access tools, databases, file systems, and APIs directly from the chat interface, powered by governed API access with automatic failover.
Claude Desktop is Anthropic's official native desktop application for macOS and Windows, offering a polished chat experience with a focus on productivity and deep system integration. Its defining feature is first-class support for the Model Context Protocol (MCP) — an open standard that lets AI models connect to external tools, databases, file systems, web APIs, and custom services directly from the conversation. MCP transforms the chat from a simple Q&A interface into a full-featured agent workspace where the model can read your files, query your databases, call your APIs, and interact with your development environment.
The killer feature is MCP integration as a first-class citizen. While other chat apps bolt on tool support as an afterthought, Claude Desktop was designed around it. Add an MCP server for your Postgres database, and the model can query it. Add one for your GitHub repos, and it can read PRs and issues. Add one for your file system, and it can work with your documents directly. Combined with AVELIN as a backend via MCP adapters, you get this powerful tool ecosystem with AVELIN's frontier models and governed API infrastructure.
Quick Setup
Step 1: Get your AVELIN API key
Sign up at avelin.ai and generate an API key. It will look like sk-ave...xxxx.
Step 2: Install Claude Desktop
Download from claude.ai/download for macOS or Windows.
Step 3: Configure MCP Adapter for AVELIN
Claude Desktop uses a configuration file to register MCP servers. Open the config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add an OpenAI-compatible MCP adapter pointing to AVELIN:
{ "mcpServers": { "avelin-adapter": { "command": "npx", "args": [ "-y", "@anthropic/mcp-adapter", "--provider", "openai", "--base-url", "https://api.avelin.ai/v1", "--api-key", "sk-ave...xxxx", "--model", "avelin-pro" ] } } }
Step 4: Start Chatting
- Restart Claude Desktop after editing the config
- Open a new conversation
- The AVELIN adapter appears as an available MCP server
- Claude can now route tasks through AVELIN models when appropriate
Recommended Models
For Tool Use: avelin-agentic-ultra
For Analysis: avelin-coding-pro
Quick Reference
Why AVELIN for Claude Desktop?
- MCP synergy: AVELIN's agentic models are designed for tool use, matching MCP's philosophy
- Prompt caching: ~80% cost reduction on repeated contexts across long sessions
- Automatic failover: MCP workflows continue even if a provider has issues
- 1M-token context: Process large files and datasets surfaced by MCP servers
- Governed access: Enterprise-grade reliability for production MCP workflows
Advanced Configuration
Multiple MCP Servers
Combine AVELIN with other MCP servers for powerful workflows:
{ "mcpServers": { "avelin-adapter": { "command": "npx", "args": [ "-y", "@anthropic/mcp-adapter", "--provider", "openai", "--base-url", "https://api.avelin.ai/v1", "--api-key", "sk-ave...xxxx", "--model", "avelin-agentic-ultra" ] }, "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/you/Documents" ] }, "postgres": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-postgres", "postgresql://user:pass@localhost:5432/mydb" ] } } }
Model Selection via MCP
Different MCP servers can use different AVELIN models:
{ "mcpServers": { "avelin-coding-fast": { "command": "npx", "args": [ "-y", "@anthropic/mcp-adapter", "--provider", "openai", "--base-url", "https://api.avelin.ai/v1", "--api-key", "sk-ave...xxxx", "--model", "avelin-coding-pro" ] }, "avelin-fast-tools": { "command": "npx", "args": [ "-y", "@anthropic/mcp-adapter", "--provider", "openai", "--base-url", "https://api.avelin.ai/v1", "--api-key", "sk-ave...xxxx", "--model", "avelin-agentic-fast" ] } } }
Using AVELIN as Anthropic-Compatible Endpoint
Claude Desktop natively speaks Anthropic's API protocol. You can point certain MCP adapters to AVELIN's Anthropic-compatible endpoint:
Troubleshooting
Related
- API Quickstart — First API call in 5 minutes
- OpenRouter MCP Guide — MCP framework integration
- Open WebUI Guide — Self-hosted chat alternative
- Model Catalog — Full model comparison
- Claude Desktop — Download the app
- MCP Specification — Protocol documentation