Provides comprehensive access to the Arch Linux ecosystem including searching and accessing Arch Wiki documentation, browsing AUR packages with security analysis, querying official repositories, managing system packages, and performing security audits of PKGBUILDs and package metadata.
Arch Linux MCP Server
Disclaimer: Unofficial community project, not affiliated with Arch Linux.
A Model Context Protocol (MCP) server that bridges AI assistants with the Arch Linux ecosystem. Enables intelligent, safe, and efficient access to the Arch Wiki, AUR, and official repositories for AI-assisted Arch Linux usage on Arch and non-Arch systems.
Leverage AI to get output for digestible, structured results that are ready for follow up questions and actions.
š Complete Documentation with Comfy Guides
Sneak Peak into what's available
Resources (URI-based Access)
Direct access to Arch ecosystem data via custom URI schemes:
URI Scheme | Example | Returns |
|
| Markdown-formatted Wiki page |
|
| Raw PKGBUILD with safety analysis |
|
| AUR package metadata (votes, maintainer, dates) |
|
| Official repository package details |
|
| System installed packages list (Arch only) |
Tools (Executable Functions)
Category | Tool | Description | Key Features |
Search |
| Query Arch Wiki documentation | Ranked results, keyword extraction |
| Search AUR packages | Smart ranking: relevance/votes/popularity/modified | |
| Lookup official packages | Hybrid local/remote, detailed metadata | |
System |
| Check for updates (Arch only) | Read-only, safe, requires pacman-contrib |
Installation |
| Secure package installation | Auto security checks, blocks malicious packages, uses paru/yay |
Security |
| Comprehensive PKGBUILD analysis | Detects: malicious commands based on 50+ red flags |
| Package trust evaluation | Analyzes: votes, maintainer, age, updates, trust scoring |
Prompts (Guided Workflows)
Prompt | Purpose | Workflow |
| Diagnose system errors | Extract keywords ā Search Wiki ā Context-aware suggestions |
| Pre-installation safety audit | Fetch metadata ā Analyze PKGBUILD ā Security recommendations |
| Installation planning | Check repos ā Map dependencies ā Suggest install order |
Installation
Prerequisites
Python 3.11+
uv (recommended) or pip
Quick Install with uvx
Configuration
Claude / Cursor / Any MCP client that supports STDIO transport
If you are using Cursor, you can easily install and configure the MCP server by clicking the button below:
Contributing
Contibutions are greatly appreciated. Please feel free to submit a pull request or open an issue and help make things better for everyone.
License
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Arch MCP provides three main capabilities:
Access to Arch Wiki, AUR packages, official repos, and installed packages
Search, analyze, and securely install packages with built-in 50+ safety checks
Guided workflows for troubleshooting, security audits, and dependency analysis
Related MCP Servers
- AsecurityAlicenseAqualityMCP-NixOS is a Model Context Protocol server that provides real-time, accurate information about NixOS packages, options, Home Manager, and nix-darwin configurations, preventing AI assistants from hallucinating about NixOS resources and enabling them to deliver factual system configuration guidance.Last updated -18311MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.Last updated -2141,77934,843MIT License
- -securityFlicense-qualityAn MCP server that retrieves and provides Wikipedia content for requested topics, enabling easy access to Wikipedia information directly through the Model Control Protocol.Last updated -1