An MCP server that provides Unix command documentation directly within Claude conversations.
- Get command documentation: Retrieve help pages, man pages, and usage information for Unix commands
- List common commands: Discover available commands on your system, categorized by function
- Check command existence: Verify if a specific command is available and get its version information
- Python 3.13+
- Claude Desktop or any MCP-compatible client
- Clone this repository
- Install the package:
pip install -e .
# or
uv install -e .
- Install the server in Claude Desktop:
mcp install unix_manual_server.py
# uv
uv run mcp install unix_manual_server.py
Once installed, you can use the server's tools directly in Claude:
I need help with the grep command. Can you show me the documentation?
What Unix commands are available on my system?
Is the awk command available on my system?
To test the server locally without installing it in Claude:
mcp dev unix_manual_server.py
The server takes precautions to prevent command injection by:
- Validating command names against a regex pattern
- Executing commands directly without using shell
- Setting timeouts on all command executions
- Only checking for documentation, never executing arbitrary commands
Logs are saved to unix-manual-server.log
in the same directory as the script, useful for debugging.
- use
@modelcontextprotocol/inspector
withnpx
under the hood.
uv run mcp dev unix_manual_server.py
npx @modelcontextprotocol/inspector uv run unix_manual_server.py
MIT
Created with the MCP Python SDK. For more information about MCP, visit modelcontextprotocol.io.