M
mlobo2012/Claude_Desktop_API_USE_VIA_MCP
Call the Claude API from Claude Desktop
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# Claude Desktop API Integration via MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
This project provides an MCP server implementation that enables seamless integration between Claude Desktop and the Claude API. It allows you to bypass Professional Plan limitations and access advanced features like custom system prompts and conversation management.
## Features
Direct Claude API integration via MCP
Conversation history tracking and management
System prompt support
Seamless switching between Professional Plan and API usage
Easy configuration with Claude Desktop
## When to Use
Professional Plan (default):
Regular conversations in Claude Desktop
Basic usage within plan limits
No special configuration needed
API Token (via this MCP server):
When you need longer context windows
To use custom system prompts
To bypass rate limits
For advanced conversation management
## Setup Instructions
1. Clone the Repository
bash
# Using VS Code:
# 1. Press Cmd + Shift + P
# 2. Type "Git: Clone"
# 3. Paste: https://github.com/mlobo2012/ClaudeDesktopAPIUSEVIAMCP.git
# Or using terminal:
git clone https://github.com/mlobo2012/ClaudeDesktopAPIUSEVIAMCP.git
cd ClaudeDesktopAPIUSEVIAMCP
2. Install Dependencies
bash
pip install -r requirements.txt
3. Configure Environment
bash
# Copy environment template
cp .env.example .env
# Edit .env and add your API key
ANTHROPICAPIKEY=yourapikeyhere
4. Configure Claude Desktop
macOS: Navigate to ~/Library/Application Support/Claude/
bash
# Using Finder:
# 1. Press Cmd + Shift + G
# 2. Enter: ~/Library/Application Support/Claude/
Windows: Navigate to %APPDATA%\Claude\
Create or edit claudedesktopconfig.json
Copy contents from config/claudedesktopconfig.json
Update paths and API keys
## Usage Guide
### Basic Usage
1. Regular Claude Desktop Usage
Just chat normally with Claude
Uses your Professional Plan
No special commands needed
2. API Usage
@claude-api Please answer using the API: What is the capital of France?
### Advanced Features
1. Using System Prompts
@claude-api {"systemprompt": "You are an expert fitness coach"} Create a workout plan
2. Managing Conversations
# Start a new conversation
@claude-api {"conversationid": "project1"} Let's discuss Python
# Continue same conversation
@claude-api {"conversationid": "project1"} Tell me more
# View conversation history
@claude-api getconversationhistory project1
# Clear conversation
@claude-api clearconversation project1
### Cost Management
API calls use your Anthropic API credits and may incur charges
Use the Professional Plan for regular queries
Only use @claude-api when you specifically need:
Longer context windows
Custom system prompts
To bypass rate limits
## MCP Tools Available
1. queryclaude
Make direct API calls to Claude
Support for system prompts
Conversation tracking
2. clearconversation
Reset conversation history
Manage multiple conversation threads
3. getconversationhistory
Retrieve conversation records
Debug conversation flow
## Features
Direct Claude API integration via MCP
Conversation history tracking and management
System prompt support
Seamless switching between Professional Plan and API usage
Easy configuration with Claude Desktop
## When to Use
Professional Plan (default):
Regular conversations in Claude Desktop
Basic usage within plan limits
No special configuration needed
API Token (via this MCP server):
When you need longer context windows
To use custom system prompts
To bypass rate limits
For advanced conversation management
## Setup Instructions
1. Clone the Repository
bash
# Using VS Code:
# 1. Press Cmd + Shift + P
# 2. Type "Git: Clone"
# 3. Paste: https://github.com/mlobo2012/ClaudeDesktopAPIUSEVIAMCP.git
# Or using terminal:
git clone https://github.com/mlobo2012/ClaudeDesktopAPIUSEVIAMCP.git
cd ClaudeDesktopAPIUSEVIAMCP
2. Install Dependencies
bash
pip install -r requirements.txt
3. Configure Environment
bash
# Copy environment template
cp .env.example .env
# Edit .env and add your API key
ANTHROPICAPIKEY=yourapikeyhere
4. Configure Claude Desktop
macOS: Navigate to ~/Library/Application Support/Claude/
bash
# Using Finder:
# 1. Press Cmd + Shift + G
# 2. Enter: ~/Library/Application Support/Claude/
Windows: Navigate to %APPDATA%\Claude\
Create or edit claudedesktopconfig.json
Copy contents from config/claudedesktopconfig.json
Update paths and API keys
## Usage Guide
### Basic Usage
1. Regular Claude Desktop Usage
Just chat normally with Claude
Uses your Professional Plan
No special commands needed
2. API Usage
@claude-api Please answer using the API: What is the capital of France?
### Advanced Features
1. Using System Prompts
@claude-api {"systemprompt": "You are an expert fitness coach"} Create a workout plan
2. Managing Conversations
# Start a new conversation
@claude-api {"conversationid": "project1"} Let's discuss Python
# Continue same conversation
@claude-api {"conversationid": "project1"} Tell me more
# View conversation history
@claude-api getconversationhistory project1
# Clear conversation
@claude-api clearconversation project1
### Cost Management
API calls use your Anthropic API credits and may incur charges
Use the Professional Plan for regular queries
Only use @claude-api when you specifically need:
Longer context windows
Custom system prompts
To bypass rate limits
## MCP Tools Available
1. queryclaude
Make direct API calls to Claude
Support for system prompts
Conversation tracking
2. clearconversation
Reset conversation history
Manage multiple conversation threads
3. getconversationhistory
Retrieve conversation records
Debug conversation flow
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/mlobo2012-claude-desktop-api-use-via-mcp/)
- Source
- awesome · https://github.com/mlobo2012/Claude_Desktop_API_USE_VIA_MCP
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.