Elixir Linux MCP Server
@KilluaYZ
About Elixir Linux MCP Server
基于Elixir的Linux源码查询MCP Server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"linux_source_code_query": {
"command": "uv",
"args": [
"--directory",
"/path/to/elixir_linux_mcp_server",
"run",
"main.py"
],
"env": {
"LXR_BASE_DIR": "/srv/elixir-data/",
"REPO_DIR": "/path/to/linux"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Elixir Linux MCP Server?
Elixir Linux MCP Server is a Model Context Protocol server that adapts the Elixir Linux code indexing tool for use with large language models. It enables LLMs to more accurately read and understand Linux kernel source code that has been indexed by Elixir. This server is intended for developers who already have Elixir, a local Linux repository, and Python/uv installed.
How to use Elixir Linux MCP Server?
Add a JSON configuration to your MCP client with the command uv and arguments pointing to the server directory and script. Set two environment variables: LXR_BASE_DIR (pointing to the Elixir data root, typically /srv/elixir-data/) and REPO_DIR (pointing to your local Linux source repository). The server runs via main.py.
Key features of Elixir Linux MCP Server
- Adapts Elixir-indexed Linux code for LLM access
- Allows precise code retrieval from Linux source
- Requires local Elixir index and Linux repo
- Uses Python and uv for execution
- Lightweight MCP server integration
- Enables context-aware code queries
Use cases of Elixir Linux MCP Server
- Querying Linux kernel code for specific functions or symbols
- Assisting LLMs in answering code-related questions
- Powering code-exploration tools for kernel development
- Enabling automated code review and analysis
- Supporting learning and documentation generation
FAQ from Elixir Linux MCP Server
What dependencies are required?
You need a local Elixir installation with an indexed Linux repository, Python 3, uv, and a cloned Linux source tree.
How do I configure the environment variables?
Set LXR_BASE_DIR to the root of your Elixir data (e.g., /srv/elixir-data/) and REPO_DIR to the path of your cloned Linux repository.
Where does the Elixir index data live?
The typical directory structure under LXR_BASE_DIR is linux/data/ and linux/repo/, corresponding to the indexed data and the local repo clone.
What runtime does the server use?
The server runs via uv with the command uv --directory /path/to/elixir_linux_mcp_server run main.py. Python is required.
Can it work without a local Linux clone?
No. The server requires both an Elixir index and a cloned Linux repository on the same machine.
Frequently asked questions
What dependencies are required?
You need a local Elixir installation with an indexed Linux repository, Python 3, uv, and a cloned Linux source tree.
How do I configure the environment variables?
Set `LXR_BASE_DIR` to the root of your Elixir data (e.g., `/srv/elixir-data/`) and `REPO_DIR` to the path of your cloned Linux repository.
Where does the Elixir index data live?
The typical directory structure under `LXR_BASE_DIR` is `linux/data/` and `linux/repo/`, corresponding to the indexed data and the local repo clone.
What runtime does the server use?
The server runs via `uv` with the command `uv --directory /path/to/elixir_linux_mcp_server run main.py`. Python is required.
Can it work without a local Linux clone?
No. The server requires both an Elixir index and a cloned Linux repository on the same machine.
Basic information
More Other MCP servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments