Read-only MCP tools for authenticated Open Science Framework projects and files.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Go command-line client for the Open Science Framework (OSF).
osf auth whoami β Identify the authenticated OSF accountosf auth login β Guided personal-access-token bootstrap for username/password usersosf projects list|get β List and inspect projectsosf components list β List project componentsosf files list|download|upload|mkdir|rm β Browse, download, upload, create folders, and delete OSF Storage filesosf search, osf search --bibtex, osf preprints list|search, and osf resolve β Search/export OSF literature metadata, discover preprints, and resolve OSF DOI destinationsosf registrations create β Create draft registrations for an existing nodeosf export β Export a node snapshot as JSON or a summary tableosf validate β Check OSF node metadata with deterministic research-output or preregistration profilesosf-mcp β Stdio MCP server exposing read-only OSF tools for agent clientsosf completion bash|zsh|fish|powershell β Shell completion scriptsRequirements:
Or from a local checkout:
Set OSF_TOKEN in your shell session. Do not commit the token or write it into project files. OSF_USERNAME and OSF_PASSWORD are supported as an opt-in fallback credential source, but personal access tokens remain preferred for automation and for accounts using SSO or two-factor authentication.
For guided token setup:
osf-mcp runs a stdio MCP server with read-only tools:
osf_whoami, osf_projects_list, osf_project_get,
osf_components_list, osf_files_list, osf_contributors_list,
osf_search, osf_preprints_list, osf_preprints_search, and
osf_doi_resolve.
The parity discovery tools are bounded and deterministic: osf_search requires
a non-empty query and accepts a limit from 1 to 100, while
osf_preprints_list accepts an optional provider and the same bounded limit.
osf_preprints_search requires a title query, accepts an optional provider, and
returns publication date, published state, DOI, and OSF HTML URL with a limit
from 1 to 100. These tools return structured JSON through the MCP server and
never perform writes.
OSF search results include stable IDs, title, abstract, keywords, year, and URL.
Use osf search <query> --bibtex to emit deterministic BibTeX records for
literature-review workflows. The command does not resolve contributor names or
download PDFs automatically.
For DataLad workflows, OSF CLI Go provides the general-purpose OSF API and
safe file primitives used around a dataset, including osf export and
osf files download --tree. It does not install or configure DataLad, Git
remotes, or git-annex special remotes; those integrations remain a separately
scoped interoperability boundary.
Local development configs are included for GitHub Copilot, VS Code, Claude,
Codex, Gemini CLI, and Qwen Code. Public registry metadata is in server.json
and registry/.
Other maintained servers in the same Glama portfolio:
Related OSF ecosystem servers:
All commands support --output table|json and --json shorthand:
The CLI is offline-tested for read-only operations, file downloads, WaterButler write primitives, search, preprint listing, draft registration creation, project create/update/delete operations, and node export. All Conductor tracks are reconciled against their per-track plans with closeout review evidence; live OSF validation remains opt-in because it requires credentials and network access.
Apache 2.0 β see LICENSE.
If you use this software in your research, please cite it using the metadata in CITATION.cff.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/osf-cli-go)<a href="https://allmcps.com/mcp/osf-cli-go"><img src="https://allmcps.com/api/badge/osf-cli-go?style=directory" alt="OSF CLI Go on AllMCPs" /></a>