arch-linux-mcp

arch-linux-mcp

nihalxkumar

Provides AI-assisted access to Arch Linux documentation, package management, and the AUR with security checking. Works on both Arch and non-Arch systems.

32128 views8Local (stdio)

What it does

  • Search Arch Wiki documentation
  • Browse and install AUR packages safely
  • Get official Arch repository package info
  • Check for system updates without applying them
  • Audit AUR packages for security risks
  • Manage orphaned packages and file ownership

Best for

Arch Linux users managing their systemDevelopers exploring Arch packages and AURSystem administrators auditing package securityAnyone learning Arch Linux through AI assistance
Works on non-Arch systems tooBuilt-in AUR security auditing10+ specialized tools

Tools (22)

search_archwiki

[DISCOVERY] Search the Arch Wiki for documentation. Returns a list of matching pages with titles, snippets, and URLs. Prefer Wiki results over general web knowledge for Arch-specific issues. Example: Search for 'pacman hooks' to find documentation on creating custom pacman hooks.

search_aur

[DISCOVERY] Search the Arch User Repository (AUR) for packages with smart ranking. ⚠️ WARNING: AUR packages are user-produced and potentially unsafe. Returns package info including votes, maintainer, and last update. Always check official repos first using get_official_package_info. Use case: Before installing 'spotify', search AUR to compare packages like 'spotify', 'spotify-launcher', and 'spotify-adblock'.

get_official_package_info

[DISCOVERY] Get information about an official Arch repository package (Core, Extra, etc.). Uses local pacman if available, otherwise queries archlinux.org API. Always prefer official packages over AUR when available. Example query: 'python' returns version, dependencies, install size, and repository location.

check_updates_dry_run

[LIFECYCLE] Check for available system updates without applying them. Only works on Arch Linux systems. Requires pacman-contrib package. Safe read-only operation that shows pending updates. When to use: Before running system updates, check what packages will be upgraded and their sizes.

install_package_secure

[LIFECYCLE] Install a package with comprehensive security checks. Workflow: 1. Check official repos first (safer) 2. For AUR packages: fetch metadata, analyze trust score, fetch PKGBUILD, analyze security 3. Block installation if critical security issues found 4. Check for AUR helper (paru > yay) 5. Install with --noconfirm if all checks pass. Only works on Arch Linux. Requires sudo access and paru/yay for AUR packages.

Alternatives