CodexSpot
A

Anthropic Tools MCP Server

Connects AI assistants to the Anthropic API through MCP, enabling chat completions with Claude models and token counting to integrate Anthropic's AI capabilities into your workflows.

stdioLocalApiKeynpm

What This Server Exposes

Tools

chat_completioncount_tokens

Resources

  • model responses
  • token counts

Setup Instructions

  1. 1Generate an Anthropic API key at console.anthropic.com/account/keys
  2. 2Add the Anthropic Tools server config to your Claude Desktop configuration
  3. 3Set the ANTHROPIC_API_KEY environment variable
  4. 4Restart Claude Desktop

Configuration

Claude Desktop Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "anthropic-tools": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anthropic"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "your-anthropic-api-key"
      }
    }
  }
}

Environment Variables

ANTHROPIC_API_KEY
Anthropic API key from console.anthropic.com/account/keys
Required🔒 Secret

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

Your Anthropic API key is billed per token. Monitor usage in the Anthropic console and set appropriate spending limits. Keep the key secret and rotate it if it is ever exposed.

This listing is for informational purposes only. CodexSpot is not affiliated with Anthropic Tools MCP Server.