Claude Parallel Tasks MCP Server
Enables running multiple Claude prompts simultaneously in parallel with support for file contexts and output redirection to individual files.
README
Claude Parallel Tasks MCP Server
An MCP (Model Context Protocol) server that enables running multiple Claude prompts in parallel, with optional file contexts and output redirection.
Features
- Run multiple Claude prompts simultaneously in parallel
- Provide file contexts to Claude prompts
- Redirect output to individual files for each task
- Built with TypeScript and the MCP SDK
Prerequisites
- Node.js and pnpm
- Claude CLI tool installed and configured
- Anthropic API key
Setup
- Clone the repository:
git clone https://github.com/CaptainCrouton89/claude-code-mcp.git
cd claude-code-mcp
- Install dependencies:
pnpm install
- Set up your environment variables:
cp .env.example .env.local
- Edit
.env.localand add your Anthropic API key:
ANTHROPIC_API_KEY=your_anthropic_api_key_here
- Build the project:
pnpm run build
Usage
Running the Server
pnpm start
Configuring with Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"claude-parallel": {
"command": "node",
"args": ["/path/to/claude-code-mcp/dist/index.js"],
"env": {
"ANTHROPIC_API_KEY": "your_anthropic_api_key_here"
}
}
}
}
Available Tools
run_parallel_claude_tasks
Runs multiple Claude prompts in parallel with optional file contexts.
Parameters:
queries: Array of query objects, each containing:queryText: The text prompt to send to ClaudecontextFilePaths(optional): Array of file paths to provide as context
Example:
{
"queries": [
{
"queryText": "Explain this code",
"contextFilePaths": ["src/index.ts"]
},
{
"queryText": "Write a summary of this project",
"contextFilePaths": ["README.md", "package.json"]
}
]
}
Development
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Run in development mode
pnpm run dev
Security
- API keys are stored in environment variables, not in code
- The
.env.localfile is gitignored to prevent accidental commits - Use the provided
.env.exampleas a template
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.