Xraylib MCP Server

A Model Context Protocol (MCP) server that provides access to xraylib X-ray interaction data through a standardized interface. Query cross-sections, fluorescence lines, edge energies, and more from any MCP-compatible client. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-04-14 · ★ 3 · #684 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

BSD-3-Clause · Python servers · how we verify → /methodology

01 · Install Xraylib MCP Server

Claude Code

claude mcp add tschoonj-xraylib-mcp-server -- uvx xraylib-mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "tschoonj-xraylib-mcp-server": {
      "command": "uvx",
      "args": [
        "xraylib-mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · container (OCI image) - can be sandboxed away from your filesystem

license BSD-3-Clause - declared in the repository

pypi package xraylib-mcp-server - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.tschoonj is GitHub-verified and matches the repo owner

03 · Who maintains Xraylib MCP Server

xraylib-mcp-server is maintained by tschoonj. We track 2 MCP servers from tschoonj - 2 actively maintained, 3 combined GitHub stars, oldest repo from Sep 2025.

04 · Facts

category
other - ranked #684 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.tschoonj/xraylib-mcp-server (active, first published 2026-04-12 · 2 versions)
packages
pypi:xraylib-mcp-server · oci:ghcr.io/tschoonj/xraylib-mcp-server:0.1.6

05 · Xraylib MCP Server FAQ

What is Xraylib MCP Server?

A Model Context Protocol (MCP) server that provides access to xraylib X-ray interaction data through a standardized interface. Query cross-sections, fluorescence lines, edge energies, and more from any MCP-compatible client. It runs locally over stdio via the published package.

Is Xraylib MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-04-14. We re-verify nightly.

How do I install Xraylib MCP Server?

Run `uvx xraylib-mcp-server`. You can also paste the ready-made client config above.

Does Xraylib MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Xraylib MCP Server