mcp-server-claude-chat
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-claude-chatSearch the web for the latest space exploration news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-claude-chat
An MCP (Model Context Protocol) server for the Anthropic Claude Messages API. Built in Rust, it exposes chat, vision, live web search, and model listing as MCP tools — so any MCP client (Claude Desktop, Claude Code, etc.) can consult Claude as a tool.
Communicates via stdio using JSON-RPC 2.0, like all the other MCP servers in this collection. Structurally it mirrors mcp-server-grok-chat / mcp-server-gpt-chat, adapted to Anthropic's API shape.
Subscription vs. API credits
This server uses the Anthropic API with an API key (API credits). That is the only supported, terms-compliant way to drive Claude from a third-party tool.
A Claude Pro/Max subscription (the kind that powers Claude Code and the Claude apps) is not usable here: that authentication is licensed for Anthropic's own first-party clients, and routing it through a custom server would violate Anthropic's Consumer Terms — the "$200 of Claude usage from another service" concern you raised. So: API key it is. (If you run an Anthropic-compatible gateway, point base_url at it — see Configuration.)
Related MCP server: MCP Fetch
Tools
Tool | Description |
| Send a message to Claude. Supports multi-turn history, a system prompt, model selection, and extended thinking via |
| Analyse an image given an image URL and a text prompt. |
| Chat with live web search — Claude searches server-side and answers with cited sources. |
| List available Claude models and their IDs (cached for 5 minutes). |
Note: Anthropic has no embeddings endpoint (they recommend Voyage AI), so unlike the grok/gpt servers there is no
embeddingtool.
chat
Name | Type | Required | Description |
| string | yes | The user message to send |
| string | no | System prompt to set context/behaviour |
| string | no | Conversation history as a JSON array of |
| string | no | Model ID (default: server default, |
| float | no | Sampling temperature (0.0–1.0). Ignored when |
| integer | no | Max tokens to generate (defaults to the server default) |
| integer | no | Enable extended thinking with this token budget (min 1024). Reasoning is returned in a |
chat_with_vision
Name | Type | Required | Description |
| string | yes | Text prompt describing what to analyse |
| string | yes | URL of the image (must be |
| string | no | Vision-capable model ID (default: server default) |
| float | no | Sampling temperature (0.0–1.0) |
| integer | no | Max tokens to generate |
chat_with_search
Name | Type | Required | Description |
| string | yes | The user message |
| string | no | System prompt |
| string | no | Model ID (default: server default) |
| float | no | Sampling temperature (0.0–1.0) |
| integer | no | Max tokens to generate |
| integer | no | Max web searches Claude may run for this request (default: 5) |
Web search is billed by Anthropic at $10 per 1,000 searches on top of token costs, and an org admin must enable web search in the Claude Console.
list_models
No parameters. Results cached for 5 minutes.
Prerequisites
Rust (edition 2024)
An Anthropic API key from console.anthropic.com
Setup
mkdir -p ~/.config/mcp-server-claude-chat
cp config.toml.example ~/.config/mcp-server-claude-chat/config.toml
# then edit it and set api_keyConfig (~/.config/mcp-server-claude-chat/config.toml):
api_key = "sk-ant-..."
# Optional:
# base_url = "https://api.anthropic.com/v1" # or a compatible gateway
# default_model = "claude-opus-4-8"
# default_max_tokens = 4096The server fails fast at startup if the config is missing or api_key is empty.
Build
cargo build --release # produces target/release/claude-chat
cargo build # debug build
cargo run # run in dev mode
RUST_LOG=debug cargo run
cargo test # unit tests (response formatting, validation, message building)MCP Configuration
Claude Desktop (~/.config/Claude/claude_desktop_config.json) or any MCP client:
{
"mcpServers": {
"claude-chat": {
"command": "/media/codechap/4TB/develop/mcps/mcp-server-claude-chat/target/release/claude-chat"
}
}
}Claude Code:
claude mcp add claude-chat -- /media/codechap/4TB/develop/mcps/mcp-server-claude-chat/target/release/claude-chatProject Structure
src/
main.rs - entry point, config loading, stdio transport setup
server.rs - MCP tool definitions (chat, chat_with_vision, chat_with_search, list_models)
api.rs - Anthropic HTTP client, Messages/Models types, response formatter
params.rs - tool parameter types with serde + JSON Schema derives
config.rs - TOML config loadingLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables Claude users to access specialized OpenAI agents (web search, file search, computer actions) and a multi-agent orchestrator through the MCP protocol.Last updated410
- AlicenseAqualityDmaintenanceModel Context Protocol server that enables Claude Desktop (or any MCP client) to fetch web content and process images appropriately.Last updated1422MIT
- Alicense-qualityDmaintenanceA Machine Context Protocol server that enables Claude AI to interact with tools through a structured communication interface, following standard MCP patterns with server initialization and stdio transport.Last updated1,9672MIT
- AlicenseBqualityDmaintenanceA minimal local MCP server that wraps any Claude Messages API-compatible upstream into a unified ask_model tool. It enables MCP clients to interact with these models through a standard tool interface using stdio transport.Last updated18MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/codeChap/mcp-server-claude-chat'
If you have feedback or need assistance with the MCP directory API, please join our Discord server