Install Localhost in Claude Code
This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:
claude mcp add localhost -- <command to start the server>Frequently asked questions
What does the Localhost MCP server do?
Inspect, manage and kill local dev servers: see what listens on each port, diagnose port conflicts, find zombie processes and kill by PID or port.
Is the Localhost MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does Localhost run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Localhost to Claude Code?
Follow the install steps in the project's README at https://github.com/HasanJahidul/localhost-mcp, then register it with "claude mcp add".
More command line & os automation MCP servers
View allWhen
WhenLabs-org/when
Developer toolkit: stack detection for AI context files, port conflicts, .env schema validation, docs drift, dependency license audits and task timing.
Claude Terminal
LukeLamb/claude-terminal-mcp
Terminal, filesystem and background-job tools for Linux and macOS.
Applemusic
suleyman416/mcp-applemusic
Apple Music control on macOS: DJ daemon and energy mixes, multi-room AirPlay, Spotify and M3U playlist import, listening journal and Apple Replay analytics.
Terminal History
HasanJahidul/terminal-history-mcp
Local full-text search over zsh, bash and fish history, with secret redaction and optional capture of cwd, exit code and duration.
Remcp
getremcp/remcp
Secure remote MCP bridge to paired computers: files, terminal sessions, screenshots, search, processes, and binary transfers with outbound-only device agents.
Cellar
dimpagk92/cellar
Hybrid computer-use runtime combining the accessibility tree, Chrome DevTools Protocol and vision into structured context, with offline support via Ollama.