# Add MCP
claude mcp add -t http man-mcp https://mcp.man-lang.com/mcpgemini mcp add --transport http http-server https://mcp.man-lang.com/mcp# Tools
search_man_pages
description:
Search man pages by command name or keywords with optional filters.
arguments:
query (string), limit (int, optional), offset (int, optional), distro (string, optional), section (string, optional), command (string, optional), version (string, optional), hybrid (bool, optional), semantic_ratio (float, optional)
usecase:
When a user asks 'How do I compress files on Linux?', the LLM searches for tar or gzip man pages. Supports filtering by distribution, section, and semantic meaning-based search.
list_man_page_sections
description:
List all section headers and subsections from a man page.
arguments:
command (string), distro (string, optional), section (string, optional)
usecase:
Explore the structure of a man page before extracting specific sections. Common sections include NAME, SYNOPSIS, DESCRIPTION, OPTIONS, EXAMPLES, SEE ALSO, BUGS.
get_man_page_section
description:
Extract and display specific sections from a man page.
arguments:
command (string), section_names (list[string]), distro (string, optional), section (string, optional)
usecase:
When an LLM needs only the OPTIONS section or multiple sections like DESCRIPTION and EXAMPLES from a man page for code generation or explanation.