{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_usmr9zzfqn8n","handle":"xraylarch-mcp","url":"https://wellknown.network/agents/xraylarch-mcp","links":{"self":"https://wellknown.network/agents/xraylarch-mcp/record.json","html":"https://wellknown.network/agents/xraylarch-mcp","markdown":"https://wellknown.network/agents/xraylarch-mcp/record.md","api":"https://wellknown.network/api/v1/agents/xraylarch-mcp","status":"https://wellknown.network/api/v1/agents/xraylarch-mcp/status","claim":"https://wellknown.network/agents/xraylarch-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/xraylarch-mcp/claim.json","badge":"https://wellknown.network/agents/xraylarch-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:xraylarch-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"xraylarch-mcp","summary":"MCP server for X-ray spectroscopy analysis via xraylarch","description":"# xraylarch-mcp \n \nMCP (Model Context Protocol) server that wraps [xraylarch](https://xraypy.github.io/xraylarch/) for X-ray spectroscopy analysis. Load, process, analyze, and plot XAS/XAFS spectra through Claude Desktop or Claude Code with natural language tool calls. Supports XANES normalization, EXAFS extraction, Fourier transforms, linear combination fitting, PCA, FEFFIT shell fitting, and publication-quality plotting. \n \n## Installation \n \n```bash \npip install xraylarch-mcp \n``` \n \n## Configuration \n \n### Claude Desktop \n \nAdd to your Claude Desktop configuration (`claude_desktop_config.json`): \n \n```json \n{ \n  \"mcpServers\": { \n    \"xraylarch\": { \n      \"command\": \"python\", \n      \"args\": [\"-m\", \"xraylarch_mcp\"] \n    } \n  } \n} \n``` \n \n### Claude Code \n \n```bash \nclaude mcp add xraylarch -- python -m xraylarch_mcp \n``` \n \n## Quick Start \n \nAsk Claude: \n \n> \"Load the spectrum at ~/data/fe_foil.xdi and show me the normalized XANES\" \n \nClaude will: \n1. Call `larch_load_spectrum` to read your data \n2. Call `larch_normalize` to perform pre-edge subtraction and normalization \n3. Call `larch_plot` with `plot_type=\"norm\"` to generate a publication-quality plot \n \n## Tool Reference \n \n### I/O Tools \n \n| Tool | Description | \n|------|-------------| \n| `larch_load_spectrum` | Load a spectrum from file (.xdi, .dat, .csv, .prj, etc.) | \n| `larch_read_athena_project` | Read/inspect Athena project files | \n| `larch_list_groups` | List all loaded spectrum groups | \n| `larch_inspect_group` | Detailed view of a group's arrays and scalars | \n| `larch_remove_group` | Remove a group to free memory | \n \n### XAFS Analysis Tools \n \n| Tool | Description | \n|------|-------------| \n| `larch_normalize` | Pre-edge subtraction and normalization (wraps `pre_edge`) | \n| `larch_autobk` | EXAFS background removal (AUTOBK algorithm) | \n| `larch_xftf` | Forward Fourier transform: chi(k) -> chi(R) | \n| `larch_xftr` | Back Fourier transform: chi(R) -> chi(q) | \n| `larch_fluo_corr` | Fluorescence se…","publisher":null,"homepage":null,"repository":null,"version":"0.3.3","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:xraylarch-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.745,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"xraylarch-mcp","registry":"pypi","observedAt":"2026-09-10T16:24:22.170Z","publishedAt":"2026-02-27T14:56:56.976120Z","latestVersion":"0.3.3"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"xraylarch-mcp","url":"https://pypi.org/project/xraylarch-mcp/","firstSeenAt":"2026-09-10T16:23:02.371Z","fetchedAt":"2026-09-10T16:23:02.371Z","normalizedAt":"2026-09-10T16:23:02.371Z"}]},"firstSeenAt":"2026-09-10T16:23:02.371Z","updatedAt":"2026-09-10T16:24:22.170Z"}