Conversational EEG/MEG/sEEG/ECoG/fNIRS analysis with MNE-Python via the Model Context Protocol (Claude Code / opencode): persistent session, 32 tools + 2 skills, figure capture, run_code escape hatch.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mne -- uvx mne-mcp~/.codex/config.toml
[mcp_servers.mne]
command = "uvx"
args = ["mne-mcp"]
# codex mcp add mne -- uvx mne-mcp~/.cursor/mcp.json
{
"mcpServers": {
"mne": {
"command": "uvx",
"args": [
"mne-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"mne": {
"type": "stdio",
"command": "uvx",
"args": [
"mne-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mne": {
"command": "uvx",
"args": [
"mne-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mne": {
"command": "uvx",
"args": [
"mne-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"mne": {
"command": "uvx",
"args": [
"mne-mcp"
]
}
}
}