Anthropic API MCP Server
Access Claude AI models for text generation, analysis, and code assistance through the Anthropic API.
Quick Answer
- 1. The Anthropic API MCP server lets Claude, Cursor, and VS Code interact with the Anthropic API API through natural language.
- 2. Setup: Add the config to
claude_desktop_config.json, set your API Key variables, and restart. - 3. 2 operations available including Create a message, Complete text.
- 4. Quality score: 66/99 — fair source quality and documentation coverage.
Overview
Category: AI & ML
Auth: API Key
Endpoints: 2
Transport: STDIO
Command: npx -y @anthropic/mcp-server
Spec: v2025-01-01
Setup time: ~2 min (auth required)
Environment Variables
ANTHROPIC_API_KEYExample: sk-ant-...
One-Click Install
Copy the snippet for your MCP client and paste it in — zero editing required.
Claude Desktop
Add to claude_desktop_config.json
{
"mcpServers": {
"anthropic": {
"command": "npx",
"args": [
"-y",
"@anthropic/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}Cursor
Settings → MCP Servers → Add
{
"mcpServers": {
"anthropic": {
"url": "https://mcpbridge.org/config/anthropic.json"
}
}
}Saves as .cursor/mcp.json in the download. Move it to your project root.
VS Code
Use with MCP extension
{
"mcpServers": {
"anthropic": {
"url": "https://mcpbridge.org/config/anthropic.json"
}
}
}MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"anthropic": {
"command": "npx",
"args": ["-y","@anthropic/mcp-server"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}What You Can Build
With the Anthropic API MCP server, your AI assistant can:
- Access 2 API operations through natural language
- Read, create, and modify ai & ml resources without writing HTTP requests
- Chain multiple operations in a single conversation for complex workflows
- Combine with other MCP servers for cross-tool automation
Endpoints
/v1/messagesCreate a message
/v1/completeComplete text
Authentication
This API requires API Key authentication.
Set the required environment variables in your MCP client before using this server. Refer to the Anthropic API API documentation to obtain credentials.
Required environment variables:
ANTHROPIC_API_KEY
Spec Version
Version: 2025-01-01
Spec version published with the OpenAPI document. Config auto-updates when the spec changes.
Page last updated: June 13, 2026
Quality Score
- +Official source (+30)
- +Has documentation (+12)
- +Auth type defined (+8)
- +OpenAPI spec available (+8)
- +2 endpoints (+8)
Own this API?
Claim your listing to update description, links, and category — and get a verified badge.
Claim this listing →Similar APIs
Other APIs in the AI & ML category.
OpenAI API
Generate text, images, and embeddings. Integrate GPT models and DALL-E into your AI agent.
API KeyOpenAI API
APIs for sampling from and fine-tuning language models
Amazon CodeGuru Reviewer
<p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends fixes in your Java and Python code.</p> <p>By pr
Amazon CodeGuru Profiler
<p> This section provides documentation for the Amazon CodeGuru Profiler API operations. </p> <p> Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides recommendations that can help you fine-tune your application performance. Using machine learning algo