NASA ADS MCP Server
Search NASA ADS, retrieve paper/author information and metrics, export BibTeX, and manage your ADS libraries.
Search astronomy/astrophysics papers with custom queries, sorting, and result limits.
Get full paper details, including abstract, authors, citations, and keywords, by bibcode.
Find an author’s papers with sorting and result limits.
Export BibTeX entries for one or more papers.
Get paper metrics such as citations, reads, and impact indicators.
Get author metrics including h-index, total citations, paper count, and citation statistics.
List your personal ADS libraries and view papers in a specific library.
Create new libraries and add papers to existing libraries.
Provides access to the NASA Astrophysics Data System (ADS) for searching astronomical papers, tracking citations and metrics, managing paper libraries, and exporting BibTeX references.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NASA ADS MCP Server search for recent papers on exoplanet atmospheres"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NASA ADS MCP Server
A Model Context Protocol (MCP) server that provides seamless access to the NASA Astrophysics Data System (ADS) directly within Claude. Search papers, track citations, manage libraries, and export references — all through natural language conversation.
License: MIT
About this project
This MCP server is the result of an experiment on collaborating with Claude (Anthropic) to augment my literature search workflows. It leveraged the Skill mcp-builder provided by Anthropic. All code was generated by Claude based on requirements, domain knowledge, and iterative feedback provided by the human-in-the-loop. The MCP server is working well for me, but it is far from an extensively tested solution. Feel free to fork, contribute or suggest me things that need fixing or improvement.
Related MCP server: SciX Client
Features
This MCP server exposes 11 tools for interacting with NASA ADS:
Search & Discovery
search_papers - Search ADS with its full query syntax; results show journal, volume, page, DOI and arXiv ID, page through with
offset; searches the astronomy collection by default, and names the most cited papers that filter left outget_paper_details - Abstracts and full metadata for up to 20 papers at once, by bibcode, DOI or arXiv ID
get_author_papers - Find publications by an author, in the astronomy collection by default, optionally by ORCID, affiliation, author position ("papers where I'm second author"), team size or refereed status; suggests the ORCID iDs recorded on the name's first-author papers
Metrics & Analytics
get_paper_metrics - Track citations, reads, and impact for specific papers
get_author_metrics - Calculate h-index, citation statistics, and research impact, with the same options (e.g. refereed papers with at most 20 authors, for a CV)
Reference Management
check_references - Check a manuscript's bibliography against ADS: finds each reference's bibcode, flags typos and wrong matches (first author, year, page), and lists what ADS can't find
export_bibtex - Export properly formatted BibTeX citations
list_libraries - View your personal ADS paper collections
get_library_papers - Access papers from specific libraries
create_library - Organize papers by topic or project
add_to_library - Build and maintain paper collections
Why This Tool?
The NASA ADS is the primary literature database for astronomy and astrophysics research, containing millions of papers, preprints, and citations. This MCP server makes ADS accessible through conversational AI, enabling:
Literature reviews without switching contexts
Citation tracking for your publications
BibTeX generation for LaTeX/Quarto manuscripts
Research organization through libraries
Impact analysis with comprehensive metrics
Perfect for astronomers, astrophysicists, and researchers who want their reference database integrated into their AI workflow.
Installation
Students and first-time users: follow the step-by-step guide, in English or Portuguese.
Prerequisites
uv, the Python package manager, which also fetches Python for you if needed (install instructions). On Linux and macOS:
curl -LsSf https://astral.sh/uv/install.sh | shAfter installing, open a new terminal (or restart Claude Code) so
uvis on yourPATHbefore you install the plugin. The repository pins Python 3.13 in.python-version, whichuvdownloads automatically; this avoids very new Python versions that some dependencies don't have prebuilt wheels for yet.A NASA ADS API token, free with an ADS account (get yours here)
Where it works
The server runs on your own computer, so it works wherever Claude can start local programs:
Where you use Claude | Works? | How to install |
Claude Code (terminal, IDE extensions, desktop app's Code tab), on Linux, macOS, or Windows | ✅ | |
Claude Desktop chat (macOS, Windows, Linux beta) | ✅ | |
Cowork | Not yet: Cowork doesn't ask for the plugin's token setting | |
claude.ai on the web, mobile apps | ❌ These can't run programs on your computer |
Option 1: Claude Code plugin (recommended)
If your organization's Claude plan already provides this plugin, it's installed for you: skip to step 3.
Add this repository as a plugin marketplace (a catalog Claude Code can install from):
claude plugin marketplace add prtc/nasa-ads-mcpInstall the plugin:
claude plugin install nasa-ads@nasa-ads-mcpEnter your ADS token when Claude Code asks for it. If it didn't ask, or to change it later, run this inside a Claude Code session:
/plugin configure nasa-ads@nasa-ads-mcpThe token goes into your system's secure credential store. Alternatively, save it in
~/.ads/dev_key(the file theadsPython package uses), and the server will find it there.Start a new Claude Code session and run
/mcp:plugin:nasa-ads:nasa-adsshould show as connected. The first start can take a minute or more, while uv downloads Python 3.13 (if your computer doesn't have it) and installs the server's dependencies. Claude Code waits only 30 seconds, so/mcpmay say "Failed to connect" the first time; give it a minute, then run/reload-pluginsor start a new session. To do the slow part ahead of time, runuv python install 3.13before installing the plugin.
Skipping the permission prompts: Claude Code asks before each tool's first use. To allow the tools for good, add rules to permissions.allow in your settings.json. The plugin's tools are named mcp__plugin_nasa-ads_nasa-ads__<tool>, which differs from a manual setup's mcp__nasa-ads__<tool>, so rules copied from a manual setup don't match. To allow every tool:
"permissions": { "allow": ["mcp__plugin_nasa-ads_nasa-ads__*"] }Or allow only the tools that read, so Claude still asks before create_library and add_to_library change your ADS libraries: search_papers, get_paper_details, get_author_papers, export_bibtex, get_paper_metrics, get_author_metrics, check_references, list_libraries, get_library_papers, each written as mcp__plugin_nasa-ads_nasa-ads__search_papers and so on.
Updating: claude plugin marketplace update nasa-ads-mcp, then claude plugin update nasa-ads@nasa-ads-mcp.
Already set it up by hand before? Remove the old entry so Claude doesn't see every tool twice: claude mcp remove nasa-ads.
Sharing with your research group
On a Claude Team or Enterprise plan, an Owner can install the plugin for every member. The organization's plugin sync reads a private marketplace repository, so create one for your group (for example, in your group's GitHub organization) with a single file, .claude-plugin/marketplace.json, that points at this repository:
{
"name": "pleiad-astronomy",
"description": "Claude plugins for the Pleiad Astronomy group",
"owner": { "name": "Paula Coelho" },
"plugins": [
{
"name": "nasa-ads",
"source": { "source": "github", "repo": "prtc/nasa-ads-mcp" },
"description": "Search NASA ADS: papers, metrics, BibTeX export, and your ADS libraries"
}
]
}Then, in claude.ai, go to Organization settings → Plugins & skills → Add → Sync from GitHub, choose that repository, and set Default access to Installed by default. Members get the plugin in Claude Code as nasa-ads@synced, and each one adds their own ADS token. See Anthropic's guide to syncing plugins from a repository.
Option 2: Claude Desktop (one-click bundle)
Download
nasa-ads.mcpbfrom the latest release.Double-click it, drag it into the Claude Desktop window, or go to Settings → Extensions → Advanced settings → Install Extension…
Paste your ADS token when Claude Desktop asks for it.
If Claude Desktop reports that it can't find uv, install uv (see Prerequisites) and restart it.
Option 3: Manual setup (Claude Desktop or any MCP client)
Clone this repository:
git clone https://github.com/prtc/nasa-ads-mcp.git
cd nasa-ads-mcpInstall dependencies:
uv syncConfigure your API token:
Create a .env file in the project root:
cp .env.example .envEdit .env and add your NASA ADS API token:
ADS_API_TOKEN=your_token_hereAdd to Claude Desktop configuration:
Edit your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add this entry to the mcpServers section:
{
"mcpServers": {
"nasa-ads": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/nasa-ads-mcp",
"run",
"python",
"src/nasa_ads_mcp/server.py"
]
}
}
}Replace /absolute/path/to/nasa-ads-mcp with the actual path to where you cloned the repository.
This entry belongs to the computer it's written on: the path exists only there. If you also use Claude Code on another machine (a remote host over SSH, say), install the plugin there instead (Option 1). The Claude desktop app can pass this entry on to a session on the other machine, where it fails with No such file or directory (os error 2); see Troubleshooting. Once the plugin is installed wherever you use Claude Code, consider removing this entry, so Claude doesn't see the server twice. (Whether the desktop app also passes the one-click bundle, Option 2, on to remote sessions hasn't been checked yet.)
Restart Claude Desktop
Check that nasa-ads is listed under Settings > Developer.
Usage Examples
Once connected, you can interact with ADS through natural language in Claude:
Search & Discovery
"Search for recent papers on stellar populations in elliptical galaxies"
"Find papers by Coelho, Paula R. T. from 2020-2025"
"What are the most cited papers on galaxy formation?"Metrics & Impact
"What's my current h-index and total citations?"
"Show me citation trends for bibcode 2005A&A...443..735C"
"Get metrics for my 2024 papers"Reference Management
"Check the references in my manuscript's bibliography against ADS: [paste the list]"
"Export BibTeX for these 5 papers: [bibcodes]"
"Show me what's in my 'Stellar Spectral Libraries' collection"
"Create a new library called 'Review Paper References'"
"Add these papers to my reading list"API Coverage
This server implements:
✅ Search API - Full query capabilities with field-specific searches
✅ Metrics API - Author and paper-level metrics
✅ Libraries API - Complete CRUD operations for collections
✅ Export API - BibTeX citation generation
⏳ Journals API - Future enhancement
Development
Project Structure
nasa-ads-mcp/
├── .github/workflows/ # Tests on every pull request; builds the .mcpb for each release
├── .claude-plugin/
│ ├── plugin.json # Claude Code plugin: metadata, token setting, server command
│ └── marketplace.json # Lets this repository act as a plugin marketplace
├── manifest.json # Claude Desktop bundle (.mcpb) manifest
├── assets/ # Icons (Pleiad logo by Ingrid Beloto; not MIT-licensed)
├── .mcpbignore # Files left out of the bundle (never .env)
├── docs/ # Student guides (English and Portuguese)
├── src/
│ └── nasa_ads_mcp/
│ ├── __init__.py
│ └── server.py # Main MCP server implementation
├── tests/
│ └── test_server.py # Automated tests (simulated ADS, no token needed)
├── test_connection.py # Manual check against the real ADS API
├── .env.example # Template for API token
├── .gitignore
├── pyproject.toml # Project configuration
├── CHANGELOG.md
├── ROADMAP.md # Plans, known issues, and the release process
├── CITATION.cff # How to cite this software
├── README.md
└── LICENSETesting
The automated tests simulate ADS responses, so they need no token or network. Run uv sync first: it installs pytest along with the other development tools (if uv run pytest says "No such file or directory", this step is missing, or uv needs updating with uv self update).
uv sync
uv run pytestTo check that your token works against the real ADS API (read-only calls):
uv run python test_connection.pyContributing
Contributions are welcome! ROADMAP.md lists what's planned next, the known issues, and how releases work.
Technical Details
Built with:
MCP SDK (Python, 2.x) for the MCP protocol: each tool is a typed Python function, and its input schema comes from the type hints
httpx for asynchronous calls to the ADS API (search, export, metrics, libraries)
python-dotenv for secure token management
The server uses:
stdio transport to talk to Claude Desktop and Claude Code
The ADS export service for BibTeX, so entries match what ADS itself exports
Tool annotations that tell Claude which tools only read and which change your ADS libraries
Rate limiting handled by NASA ADS API (the server reports when the limit is reached)
Known Limitations
Rate limits: NASA ADS enforces rate limits. Monitor your usage for large queries.
Author name matching: author searches and metrics match every paper with that name, so common names can include other people's papers.
Author metrics: use at most the first 2000 papers found (the server says so when this happens).
Troubleshooting
Server won't start
Verify
uvis on yourPATH:uv --version(it fetches the Python version pinned in.python-versionitself)Check API token is in
.envfileEnsure
uv synccompleted successfullyCheck Claude Desktop logs in Settings > Developer
To keep a log file of your own, set
NASA_ADS_LOG_FILE=/path/to/nasa-ads-mcp.login.env. It records each start (with the version and process ID) and each stop, so you can tell whether a "connecting" message in Claude meant the server really restarted. It holds about 1 MB, then starts over, keeping the previous one as.log.1, so it's safe to leave on
Executable not found in $PATH: "uv"
uv isn't installed, or Claude Code started before it was. Install uv (see Prerequisites), then restart Claude Code (or Claude Desktop) so it sees the new PATH.
"Failed to connect" or "connection timed out" on the first start
The first start downloads Python and the dependencies, which can take longer than the 30 seconds Claude Code waits. Wait a minute, then run /reload-plugins or start a new session.
Python download crawls (institutional networks)
On some networks, uv python install (and the first start) slows to a few KB/s while a direct download from GitHub runs at full speed. Point uv at GitHub directly, once:
UV_PYTHON_INSTALL_MIRROR=https://github.com/astral-sh/python-build-standalone/releases/download uv python install 3.13uv then reuses this Python, so the plugin's start needs no download.
error: No such file or directory (os error 2)
uv couldn't find the folder named after --directory in a manual entry (Option 3). uv doesn't say which path it tried. Usually the entry was written on another computer: the Claude desktop app can pass the entries in its claude_desktop_config.json to a Claude Code session on a remote host, where a path like /Users/<you>/... doesn't exist. The message then reads "Couldn't start on " and "Added in the Claude desktop app on this computer". On the remote host, use the plugin (Option 1), and remove the manual entry from the desktop app's config, so the two don't compete. If the error appears on the computer that holds the clone, check that the path in the entry is absolute and still points at the clone.
API errors
Verify your ADS API token is valid
Check you haven't hit rate limits
Confirm bibcodes are correctly formatted (19 characters, padded with dots). Lookups also accept DOIs, arXiv IDs and a paper's earlier bibcodes
Can't see tools in Claude
Fully quit and restart Claude Desktop
Check that
nasa-adsis listed under Settings > Developer (Claude Desktop) or in/mcp(Claude Code)Verify config path is absolute, not relative
Data and Privacy
This server runs on your own computer. It sends your search queries, bibcodes, and library requests only to the NASA ADS API (api.adsabs.harvard.edu), authenticated with your own ADS token. It stores no data of its own and sends nothing anywhere else. Your token stays in your local .env file. What ADS does with API requests is covered by the ADS privacy policy.
Icon
The icon is the logo of the Pleiad Astronomy group, designed by Ingrid Beloto, in light- and dark-theme versions made in the group's visual-identity repository. The MIT license covers this project's code and documentation, not the logo: the files in assets/ belong to the Pleiad group.
Related Projects
Other MCP servers for ADS that we know of. Suggestions for this list are welcome.
scix-mcp: the official server from the ADS/SciX team (TypeScript,
npx scix-mcp). Broad API coverage, including citation networks, 23 export formats, and library sharing and annotations. First released on npm on 2025-11-20.mcp-server-ads by cbyrohl (Python,
uvx). Includes object-name resolution, reference-string resolution, and citation/collaboration networks.
This project was first released on 2025-11-02. When we built it, we searched for an existing ADS MCP server and found none, so it was developed independently. We're glad the ADS team now offers an official one.
Acknowledgments
NASA Astrophysics Data System for providing the API
Anthropic for creating MCP and Claude
Astronomy community for maintaining the world's best literature database
How This Was Made
This server is a human–AI collaboration. Claude (Anthropic) wrote 100% of the code and documentation; Paula Coelho did not change a single comma of the code. Paula brought the idea, the astronomy and ADS knowledge, the requirements, the testing in real research, and every decision about what the tool should be. It would not exist without both: in Paula's words, it is not something she would have pursued alone.Credit is shared. Accountability is Paula's, she carries it in the name of the collaboration.
Contributions, using the CRediT roles:
Paula Coelho: Conceptualization, Methodology (astronomy and ADS knowledge), Validation, Supervision, Project administration
Claude (Anthropic): Software, Writing – original draft
The git history records Claude's part in each change through Co-Authored-By lines. "Claude (Anthropic)" is listed as a collective author, much as software papers credit "The Astropy Collaboration": several Claude instances and model versions contributed over time.
Citation
If you use this tool in your research workflow, you can cite it as below. GitHub's "Cite this repository" button reads the same information from CITATION.cff.
@software{nasa_ads_mcp,
author = {Coelho, Paula and {Claude (Anthropic)}},
title = {NASA ADS MCP Server},
note = {Human--AI collaboration; maintained by Paula Coelho},
version = {0.2.0},
year = {2025},
url = {https://github.com/prtc/nasa-ads-mcp}
}If you write about using this tool in a journal article, follow the journal's policy on AI: most don't accept AI as an author, so the collaboration belongs in the AI-use disclosure or acknowledgments.
License
MIT License - see LICENSE file for details.
Questions or Issues? Open an issue on GitHub or contact through the repository.
Want to learn more about MCP? Visit modelcontextprotocol.io
Available Tools
11 toolsadd_to_libraryAdd papers to libraryAIdempotent
Add papers to an existing library in the user's ADS account. Provide library ID and list of bibcodes to add. Papers already in the library are not duplicated.
Inputs: bibcodes (required), library_id (required).
check_referencesCheck referencesARead-onlyIdempotent
Check a list of references, as written in a manuscript's bibliography, against ADS: finds each paper's bibcode and says whether the reference matches the ADS record (first author, year, volume, page). Use it to verify a bibliography or to get bibcodes for export_bibtex. Pass one reference per list item, up to 100 per call; send a whole bibliography in one call, because ADS allows only 100 resolver requests a day. References marked CHECK resolved to a paper that differs from what is written, which can be a typo in the reference or a wrong match: show the user both. For NOT FOUND, try search_papers with the first author and a few title words.
Inputs: references (required).
create_libraryCreate libraryB
Create a new paper library/collection in the user's ADS account. Useful for organizing papers by topic, project, or reading status.
Inputs: name (required), public, description.
export_bibtexExport BibTeXARead-onlyIdempotent
Export BibTeX citations for one or more papers, exactly as ADS formats them (journal macros, volume, pages, DOI, eprint). Accepts bibcodes, DOIs and arXiv IDs; the BibTeX key is always ADS's current bibcode, and the result notes any that changed. Useful for adding references to LaTeX/Quarto documents.
Inputs: bibcodes (required).
get_author_metricsGet author metricsARead-onlyIdempotent
Get comprehensive metrics for an author including h-index, total citations, paper count, and citation statistics. Useful for CV preparation and tracking research impact. Matches names, not people: searches the astronomy collection unless told otherwise, and the result states the filter, so numbers can differ from ADS's web page, which counts all collections. For a common name, give the orcid; the result lists the iDs recorded on the name's first-author papers. For a CV, refereed_only and max_authors give a figure for the author's own work, without large collaboration papers.
Inputs: author (required), orcid, years, position, +4 more.
get_author_papersGet author papersARead-onlyIdempotent
Find papers by an author. Returns titles, years, publication details, citations and bibcodes. Searches the astronomy collection unless told otherwise. Matches names, not people: the result lists the ORCID iDs recorded on this name's first-author papers; confirm one with the user before passing it as orcid.
Inputs: author (required), sort, orcid, offset, +6 more.
get_library_papersGet library papersBRead-onlyIdempotent
Get all papers from a specific library. Returns paper details for papers in the specified collection.
Inputs: library_id (required).
get_paper_detailsGet paper detailsARead-onlyIdempotent
Get full details for up to 20 papers in one call: abstract, authors, publication (journal, volume, page), DOI, arXiv ID, keywords and citations. Accepts bibcodes, DOIs and arXiv IDs, and says which ones ADS doesn't have.
Inputs: bibcodes (required).
get_paper_metricsGet paper metricsARead-onlyIdempotent
Get detailed metrics for specific papers including citation count, reads, and impact indicators. Accepts bibcodes, DOIs and arXiv IDs. Useful for tracking paper impact over time.
Inputs: bibcodes (required).
list_librariesList librariesARead-onlyIdempotent
List all your personal paper libraries/collections in ADS. Shows library names, descriptions, and paper counts.
Inputs: no named parameters.
search_papersSearch papersARead-onlyIdempotent
Search NASA ADS for papers. Each result shows title, authors, year, citations, publication (journal, volume, page), DOI, arXiv ID and bibcode.
How ADS queries work:
Every word must match. One word written differently from the record ('microns' vs 'μm', a missing hyphen) returns nothing, so search a few distinctive words rather than a pasted full title.
Fielded queries are the most reliable: author:"Coelho, P", first_author:"Coelho, P", title:(synthetic stellar spectra) (these words, any order), abs:(...) (title, abstract and keywords), year:2020 or year:2018-2024, property:refereed, doi:..., bibcode:(A OR B).
Quotes ask for an exact phrase, which is fragile with titles. A field applies only to the next word or parenthesized group: in title:Stellar populations, only 'Stellar' is searched in titles.
Words combine with AND; OR and a leading minus also work.
Author position: pos(author:"Coelho, P", 2) (second author), pos(author:"Coelho, P", 1, 3) (first to third). Team size: author_count:[1 TO 20].
Citation networks: citations(bibcode:X) (papers citing X), references(bibcode:X), similar(bibcode:X), trending(query).
With a bibcode, DOI or arXiv ID in hand, use get_paper_details instead. Sorted newest first by default; sort='relevance' suits topical searches. Page through long result lists with offset. Searches the astronomy collection unless told otherwise; the result names the most cited papers the filter left out.
Inputs: query (required), sort, offset, collection, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes: general search, paper details, author papers, metrics, BibTeX export, reference checking, and library management. There is some overlap because search_papers can also query by author and get_paper_details includes citation counts, but the descriptions generally make the intended use clear.
All tool names use consistent snake_case and follow a predictable verb_noun pattern such as search_papers, get_paper_details, create_library, and add_to_library. The naming is coherent across search, metadata, metrics, export, and library operations.
The server exposes 11 tools, which is a well-scoped set for a literature research and reference-management domain. Each tool maps to a meaningful operation without excessive fragmentation.
The tool set covers core ADS workflows: searching, paper details, author papers, citation/impact metrics, BibTeX export, reference checking, and basic personal library creation and population. The main gap is that library management lacks remove/delete or update operations, which limits full CRUD coverage for personal libraries.
Maintenance
Related MCP Connectors
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Academic literature search, retrieval, and private library management on top of OpenAlex.
NASA ADS — the Astrophysics Data System, api.adsabs.harvard.edu.
Search INSPIRE-HEP papers, authors, experiments, HEPData records; get citation metrics and BibTeX.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for the NASA Astrophysics Data System (ADS) that enables searching, citation graph traversal, and bibliography management for astrophysics literature. It provides tools for computing citation metrics, resolving astronomical object names, and managing paper libraries through natural language.116MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with the SciX (formerly NASA ADS) API to search scientific literature, export citations, and analyze bibliometric data. It supports advanced tools for managing libraries, resolving astronomical object names, and exploring citation networks.109 PyPI2MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for the NASA Astrophysics Data System (ADS) enabling searches, paper retrieval, citation tracking, metrics, and interactive literature review prompts.-
- AlicenseBqualityBmaintenanceEnables LLMs to search astronomical literature, retrieve paper metadata, analyze citation metrics, and export bibliographic data via the NASA Astrophysics Data System (SciX) API.2338 npm10MIT