Best MCP Servers for Claude Code: Complete Integration Guide
What you'll find: Curated list of the best MCP servers for Claude Code CLI, organized by category with copy-paste terminal commands and direct integration guides.
Quick Setup Methods
Claude Code supports multiple ways to add MCP servers:
Method 1: CLI Command (Recommended)
claude mcp add <server-name> --transport stdio -- <command>
Method 2: Remote Server (No Local Install)
claude mcp add <server-name> https://<remote-mcp-url>
Verify Installation
claude mcp list
Featured Integrations
Development Tools
| Server | Description | Integration Guide | |--------|-------------|-------------------| | GitHub | 90+ tools for repos, PRs, issues, Actions | Claude Code + GitHub | | GitLab | GitLab API, merge requests, CI/CD | Claude Code + GitLab | | Git | Local git operations | Claude Code + Git | | Filesystem | Safe file system access | Claude Code + Filesystem |
Databases
| Server | Description | Integration Guide | |--------|-------------|-------------------| | PostgreSQL | Query PostgreSQL databases | Claude Code + PostgreSQL | | SQLite | Local SQLite operations | Claude Code + SQLite | | MySQL | MySQL database access | Claude Code + MySQL | | Redis | Cache and key-value store | Claude Code + Redis |
Productivity & Knowledge
| Server | Description | Integration Guide | |--------|-------------|-------------------| | Notion | Access workspaces and databases | Claude Code + Notion | | Slack | Team communication | Claude Code + Slack | | Linear | Issue tracking | Claude Code + Linear |
Search & Research
| Server | Description | Integration Guide | |--------|-------------|-------------------| | Brave Search | Web search capabilities | Claude Code + Brave | | Perplexity | AI research assistant | Claude Code + Perplexity | | Exa | Neural search | Claude Code + Exa |
Cloud & DevOps
| Server | Description | Integration Guide | |--------|-------------|-------------------| | AWS | Amazon Web Services | Claude Code + AWS | | Docker | Container management | Claude Code + Docker | | Kubernetes | K8s operations | Claude Code + Kubernetes |
Quick Setup Commands
Essential Development Setup
# GitHub (recommended remote server)
claude mcp add github https://api.githubcopilot.com/mcp/
# Or local installation
claude mcp add github --transport stdio \
--env GITHUB_PERSONAL_ACCESS_TOKEN=ghp_xxxx \
-- npx -y @anthropic-ai/github-mcp-server
# Filesystem access
claude mcp add filesystem --transport stdio \
-- npx -y @modelcontextprotocol/server-filesystem /path/to/projects
# Git operations
claude mcp add git --transport stdio \
-- npx -y @modelcontextprotocol/server-git /path/to/repos
Database Setup
# PostgreSQL
claude mcp add postgres --transport stdio \
--env DATABASE_URL=postgresql://user:pass@localhost:5432/db \
-- npx -y @modelcontextprotocol/server-postgresql
# SQLite
claude mcp add sqlite --transport stdio \
-- npx -y @modelcontextprotocol/server-sqlite --db-path ./database.db
Research Setup
# Brave Search
claude mcp add brave-search --transport stdio \
--env BRAVE_API_KEY=your-api-key \
-- npx -y @modelcontextprotocol/server-brave-search
# Perplexity
claude mcp add perplexity --transport stdio \
--env PERPLEXITY_API_KEY=your-api-key \
-- npx -y perplexity-mcp
Claude Code Power User Tips
View Available Tools
# List all configured MCP servers
claude mcp list
# In a Claude session, use
/mcp
Remove a Server
claude mcp remove github
Environment Variables
Set environment variables globally for all Claude Code sessions:
Windows (PowerShell):
$env:GITHUB_PERSONAL_ACCESS_TOKEN = "ghp_xxxx"
macOS/Linux:
export GITHUB_PERSONAL_ACCESS_TOKEN="ghp_xxxx"
# Add to ~/.zshrc or ~/.bashrc for persistence
Performance Optimization
# Increase timeout for slow servers
MCP_TIMEOUT=60000 claude
# Increase output limits
MAX_MCP_OUTPUT_TOKENS=50000 claude
Remote vs Local Servers
| Feature | Remote Servers | Local Servers | |---------|---------------|---------------| | Setup | One command | Install dependencies | | Security | OAuth/token-based | Environment variables | | Speed | Network dependent | Fast | | Availability | Depends on service | Always available | | Best for | Production | Development |
When to Use Remote
# GitHub (official remote)
claude mcp add github https://api.githubcopilot.com/mcp/
When to Use Local
# Filesystem (must be local for security)
claude mcp add filesystem --transport stdio \
-- npx -y @modelcontextprotocol/server-filesystem /home/user/projects
Browse All Claude Code Integrations
Explore all 1000+ MCP servers compatible with Claude Code:
Browse Full MCP Server Directory β
Filter by category:
Related Guides
- GitHub MCP + Claude Code Setup - Detailed GitHub integration
- MCP Server Setup Guide - Complete configuration
- MCP Troubleshooting - Fix common issues
Last updated: December 2025 | Browse all MCP guides