mne-analyst

mne-analyst is a skill for Claude Code, Codex from Exekiel179/MNE-MCP. It costs 267 tokens per session (1,627 once invoked), scanned A, original, MIT.

A tool for analyzing neurophysiology recordings such as EEG, MEG, intracranial EEG, ECoG, and fNIRS through MNE-Python, a scientific software library. It supports cleaning recordings, removing artifacts, finding event-related responses, and plotting results.

In plain words
What is it for?
Loading recordings, filtering and re-referencing them, marking or interpolating bad channels, removing eye and heart artifacts with ICA, creating epochs, averaging responses, and examining time-frequency data.
Why use it?
It lets an agent guide a data-analysis workflow while keeping a persistent session and inspecting plots before choosing the next processing step.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Loading recordings, filtering and re-referencing them, marking or interpolating bad channels, removing eye and heart artifacts with ICA, creating epochs, averaging responses, and examining time-frequency data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/exekiel179/mne-mcp/mne-analyst
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Exekiel179/MNE-MCP --skill mne-analyst
Clone the repo
git clone --depth 1 https://github.com/Exekiel179/MNE-MCP

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mne-analyst

README.md
[![agentmods](https://agentmods.dev/badge/skills/exekiel179/mne-mcp/mne-analyst/github.svg)](https://agentmods.dev/skills/exekiel179/mne-mcp/mne-analyst)
Your own site
<a href="https://agentmods.dev/skills/exekiel179/mne-mcp/mne-analyst"><img src="https://agentmods.dev/badge/skills/exekiel179/mne-mcp/mne-analyst/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mne-analyst

Your own site · 80×15
<a href="https://agentmods.dev/skills/exekiel179/mne-mcp/mne-analyst"><img src="https://agentmods.dev/badge/skills/exekiel179/mne-mcp/mne-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 267 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00267 $0.01627
Opus 5 $0.00133 $0.00813
Sonnet 5 $0.00053 $0.00325
Haiku 4.5 $0.00027 $0.00163

Measured 11d ago against content hash 58ddb117b8e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mne-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mne-analyst/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MNE Analyst

Drive MNE-Python analysis conversationally through the MNE MCP server. The server keeps one persistent session, so load a recording once and build the pipeline step by step. Every plotting tool returns > Figure: <path>read that PNG and interpret it before deciding the next step.

Quick start

mne_check_status                 # 1. confirm MNE (+ sklearn for ICA) is available
mne_load_raw path=... name=raw   # 2. load
mne_set_montage name=raw         # 3. positions (needed for topomaps/ICA/interpolation)
mne_plot_psd name=raw            # 4. LOOK (read the PNG) → pick filter cutoffs / spot bad channels

Request → tools (routing)

User wants Call (in order)
Look at the data mne_describe / mne_get_info, mne_plot_psd, mne_plot_raw
Clean / preprocess mne_filter (+notch), mne_mark_bad_channelsmne_interpolate_bads, mne_set_reference
Remove eye/heart artifacts mne_fit_ica (on ~1 Hz HP data) → mne_plot_ica_componentsmne_apply_ica exclude=...
ERP / evoked get events (mne_find_events or mne_events_from_annotations) → mne_make_epochsmne_average_evokedmne_plot_evoked / mne_plot_topomap
Time-frequency mne_make_epochs (wide window) → mne_tfr_morlet
Decoding (MVPA) mne_decode cond_a=… cond_b=…
Connectivity mne_connectivity method=coh fmin=8 fmax=13
Source localization (EEG) mne_compute_noise_covmne_make_forwardmne_apply_inversemne_plot_source_estimate
Save mne_save
BIDS / stats / anything else mne_run_code (see references/mne-pipelines.md)

Golden rules (prevent the common failures)

  • Inspect first (mne_get_info) — never guess channel names, montage, or event codes.
  • Set a montage before topomaps, ICA components, or interpolation.
  • High-pass ~1 Hz before ICA; apply the resulting ICA to your ERP-filtered data.
  • SI units: 100 µV = reject_eeg=100e-6, not 100. (The #1 silent error.)
  • Read the figure each plot returns; interpret it in plain language.
  • ❌ Don't jump to a heavy step (ICA, TFR, source) before a quick sanity check.
  • ❌ Don't use a short ERP window for TFR — Morlet needs a wider epoch (e.g. tmin=-0.5 tmax=1.5).

Read the full file on GitHub · 90 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 90 lines · 267 tokens per session scan A 58ddb117b8e1

Subscribe to this mod's changes

mne-analyst is a skill published in the GitHub repository Exekiel179/MNE-MCP (7 stars, last pushed 2mo ago), licensed MIT. It adds 267 tokens to every session and 1,627 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens