Get the FREE Ultimate OpenClaw Setup Guide →

claude-code-guide

Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio zebbern-claude-code-guide npx -y @anthropic-ai/claude-code \
  --env ANTHROPIC_API_KEY="Your Anthropic API key"

How to use

This MCP server wraps the Claude Code Guide tooling as an accessible MCP service. It leverages the Claude Code package to provide an interactive command-line experience and guide resources for code-related tasks with Claude. To get started, install or run the server using the provided mcp_config (for example via npx with the package name). Once running, you can invoke Claude Code's functionality through the standard MCP interface, enabling you to access the guide, commands, shortcuts, and integration features described in the repository. Ensure you have an Anthropic API key configured via ANTHROPIC_API_KEY to authenticate with Claude Code services. The environment is designed to support the same commands you would use in the native Claude Code setup, including the Quick Start installer steps and the command references listed in the documentation.

How to install

Prerequisites:

  • Node.js and npm (for the npm-based install) or access to a system that can run npx/npm commands.
  • An Anthropic API key to authenticate with Claude Code services.

Installing via MCP (recommended):

  1. Ensure Node.js is installed on your system.
  2. Use the MCP config to start the server with: npx -y @anthropic-ai/claude-code
  3. Provide your API key when prompted or set ANTHROPIC_API_KEY in your environment before starting the server.

Alternative: install manually using npm (deprecated in favor of native installer as per docs):

  • npm install -g @anthropic-ai/claude-code
  • claude

Prerequisites for Native Installer (if you prefer the native path):

  • Follow the native installer instructions in the Claude Code documentation to install on Windows/macOS/Linux, then run the claude-code command.

Notes:

  • The server expects an API key and will expose Claude Code features similar to the CLI/GUI guides in the repository.
  • If using Docker or other containerized approaches, ensure environment variables are passed appropriately (ANTHROPIC_API_KEY).

Additional notes

Tips and common issues:

  • Ensure ANTHROPIC_API_KEY is set in the environment; without it, requests to Claude Code services may fail.
  • If you encounter authentication errors, double-check the API key and account permissions.
  • The MCP integration mirrors the documented CLI/Commands and Shortcuts sections from Claude Code; consult the README's quick links for reference.
  • When using npx, the first run may fetch the package; ensure network access and npm registry accessibility.
  • If your environment uses proxies, configure npm/yarn/your MCP runner to allow outbound API requests to Anthropic services.

Related MCP Servers

Sponsor this space

Reach thousands of developers