anthropic-mcp
Provides access to Claude models, message creation, token counting, and batch processing via the Anthropic API with Type 3 DAuth authentication.
README
Anthropic MCP Server
A Type 3 DAuth MCP server for Anthropic API. Provides access to Claude models, message creation, token counting, and batch processing.
Features
- List Models — View available Claude models
- Create Message — Chat with Claude
- Count Tokens — Calculate token usage for text
- Create Batch — Submit batch jobs for async processing
- Get Batch — Check batch job status
- Cancel Batch — Cancel a running batch
Authentication
This server uses Type 3 DAuth (Dedalus Auth) — your API key is encrypted client-side and decrypted in a secure Dedalus enclave.
Get Your Anthropic API Key
- Go to https://console.anthropic.com/settings/keys
- Create a new API key
- Copy the key
Installation
git clone https://github.com/dedalus-labs/anthropic-mcp.git
cd anthropic-mcp
pip install -e .
cp .env.example .env
# Edit .env and add ANTHROPIC_API_KEY
Available Tools
anthropic_list_models
List available Claude models.
anthropic_list_models()
anthropic_create_message
Create a message with Claude.
anthropic_create_message(
model="claude-sonnet-4-20250514",
messages=[{"role": "user", "content": "Hello!"}],
max_tokens=500,
temperature=1.0,
)
anthropic_count_tokens
Count tokens in text.
anthropic_count_tokens(
text="Hello, world!",
model="claude-3-5-sonnet-20241022",
)
anthropic_create_batch
Create a batch job.
anthropic_create_batch(
requests=[
{"model": "claude-sonnet-4-20250514", "messages": [{"role": "user", "content": "Hi"}]},
],
metadata={"source": "mcp"},
)
anthropic_get_batch
Get batch status.
anthropic_get_batch(batch_id="batch-id-here")
anthropic_cancel_batch
Cancel a batch.
anthropic_cancel_batch(batch_id="batch-id-here")
Cost & Rate Limits
Anthropic uses per-token pricing. Check https://anthropic.com/pricing for current rates.
Deploy to Dedalus
- Push to GitHub (public repo)
- Go to https://www.dedaluslabs.ai/dashboard
- Add Server → Connect GitHub repo
- Set
ANTHROPIC_API_KEYas Required Credential - Deploy
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.