mne-bids
MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS specification and facilitating their analysis with MNE-Python
What it is and what it does
MNE-BIDS bridges MNE-Python and the Brain Imaging Data Structure (BIDS) standard, allowing you to read and write neuroimaging datasets in a standardized format. It handles MEG, EEG, and iEEG data, making it easier to organize, share, and analyze electrophysiological recordings. The package depends on MNE-Python, numpy, and scipy, so you need the full MNE stack installed.
The primary goal is to reduce coding friction and improve reproducibility by standardizing how neuroimaging data is stored and organized. BIDS format also enables integration with automated analysis pipelines and facilitates collaboration by ensuring your data follows a widely-recognized specification. It's particularly useful if you're working in a lab setting where data sharing and pipeline reuse are common.
Use it for:
- Convert raw MEG, EEG, or iEEG recordings into BIDS-compliant directory structures for archival and sharing.
- Read BIDS-formatted datasets into MNE-Python for analysis without manual file organization.
- Prepare data for automated neuroimaging pipelines that expect BIDS input.
- Standardize electrophysiology data collection across multiple subjects or sessions in a research study.
- Facilitate reproducible research by ensuring collaborators receive data in a consistent, well-documented format.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
MNE-BIDS reads and writes neuroimaging datasets in BIDS format, enabling standardized organization and analysis of MEG, EEG, and iEEG data with MNE-Python.
Yes. MNE-BIDS is actively maintained, has low install friction, carries a permissive license, and solves a real problem for neuroimaging researchers: standardizing electrophysiology data organization. If you work with MEG, EEG, or iEEG data and use MNE-Python, this package is the standard way to organize and share your data. No known security issues.
Install
mne-bids on PyPI
pip
pip install mne-bidsuv
uv add mne-bidspoetry
poetry add mne-bidsInstalling mne-bids
Before you install
Low friction: pure Python wheel with only three runtime dependencies (mne, numpy, scipy). Active maintenance with a release 80 days ago and ongoing commits. Supports current Python versions (3.11–3.14).
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.
Quickstart
pip install mne-bids
import mne_bids
from mne_bids import write_raw_bids
# write_raw_bids(raw, bids_path, overwrite=True)
Requires MNE-Python and its dependencies (numpy, scipy) to be installed; MNE itself may require additional system libraries for data I/O.
Verify before relying
- Whether the package handles all BIDS data types (MEG, EEG, iEEG, NIRS, Motion) equally well or if some have better support.
- Performance characteristics when working with large datasets or many subjects.
- Compatibility with the mne-bids-pipeline mentioned in the description.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — mne, numpy, scipy |
| Maintenance | actively maintained — 80 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 119,618/month — #12,060 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mne_bids-0.19.0-py3-none-any.whl
Keywords: bids, brain imaging data structure, eeg, ieeg, meg, neuroimaging, neuroscience
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mneMNE-Python provides tools for exploring,…
permissive · top 5,000 on PyPI
neoNeo provides a unified data model for…
permissive · top 15,000 on PyPI
pybidsPyBIDS provides a Python interface to query,…
permissive · top 15,000 on PyPI
bidsschematoolsParse, validate, and export the Brain Imaging…
permissive · top 15,000 on PyPI
nilearnNilearn provides statistical and…
permissive · top 15,000 on PyPI
bids-validatorValidates that brain imaging datasets conform…
permissive · top 15,000 on PyPI
nipypeNipype provides a uniform Python interface to…
permissive · top 15,000 on PyPI
dipyDIPY is a Python library for analyzing…
permissive · top 15,000 on PyPI
pyxnatpyxnat provides Python bindings to interact…
permissive · top 15,000 on PyPI
pynwbPyNWB provides a high-level Python API for…
permissive · top 15,000 on PyPI