mcp-server-ads
An 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.
README
mcp-server-ads
A powerful MCP server for the NASA Astrophysics Data System (ADS) — the primary database for astrophysics literature. Search papers, traverse citation graphs forward and backward, export BibTeX, compute metrics, and manage reading lists, all through natural language. Works with Claude Desktop/Code, Cursor, OpenAI Codex, and any MCP-compatible client.
Provides 11 tools, 3 resources, and 3 prompt workflows with token-efficient output designed for LLM consumption.
Quick Start
Get an ADS API Token
- Create a free account at NASA ADS
- Log in and go to Settings > API Token
- Click Generate a new key and copy the token
Prerequisites
- Python 3.11+
Installation
# Install from GitHub with uv (recommended)
uv tool install git+https://github.com/cbyrohl/mcp-server-ads
# Or with pip
pip install git+https://github.com/cbyrohl/mcp-server-ads
Claude Desktop
{
"mcpServers": {
"ads": {
"command": "uvx",
"args": ["--from", "git+https://github.com/cbyrohl/mcp-server-ads", "mcp-server-ads"],
"env": {
"ADS_API_TOKEN": "your-api-token-here"
}
}
}
}
Claude Code
claude mcp add --scope user mcp-server-ads -e ADS_API_TOKEN=your-api-token-here -- uvx --from git+https://github.com/cbyrohl/mcp-server-ads mcp-server-ads
Use --scope project instead to share the configuration via .mcp.json in your repo, or omit --scope for local (current project only).
Codex CLI
codex mcp add mcp-server-ads --env ADS_API_TOKEN=your-api-token-here -- uvx --from git+https://github.com/cbyrohl/mcp-server-ads mcp-server-ads
This installs to ~/.codex/config.toml (user-level, available across all projects). For project-scoped config, add the entry to .codex/config.toml in your project root instead.
Running from Source
git clone https://github.com/cbyrohl/mcp-server-ads.git
cd mcp-server-ads
uv sync
# Run the server
ADS_API_TOKEN=your-token uv run mcp-server-ads
Configuration
| Environment Variable | Required | Default | Description |
|---|---|---|---|
ADS_API_TOKEN |
Yes | — | API token from ADS |
ADS_API_URL |
No | https://api.adsabs.harvard.edu |
API base URL (override for SciX) |
Tools (11)
Search
| Tool | Description |
|---|---|
ads_search |
Search the ADS database with full query syntax, including citations(), references(), similar(), trending(), and reviews() operators |
ads_bigquery |
Search within a specific set of bibcodes (up to 2000) |
Export & Metrics
| Tool | Description |
|---|---|
ads_export |
Export records in 18+ formats (BibTeX, AASTeX, RIS, CSL, etc.) |
ads_metrics |
Compute citation metrics (h-index, g-index, citation counts, etc.) |
Libraries
| Tool | Description |
|---|---|
ads_library |
Manage libraries: list, get, create, edit, or delete saved paper collections |
ads_library_documents |
Manage documents and notes within a library: add/remove papers, set operations (union, intersection, difference, copy, empty), and note CRUD |
Discovery & Resolution
| Tool | Description |
|---|---|
ads_resolve_links |
Resolve available links for a paper (full text, data, etc.) |
ads_object_search |
Translate astronomical object names to ADS queries (SIMBAD/NED) |
ads_citation_helper |
Suggest papers that should be cited alongside a given set |
ads_resolve_reference |
Resolve free-text reference strings to ADS bibcodes |
Network Visualization
| Tool | Description |
|---|---|
ads_network |
Generate author collaboration or paper citation networks from a set of papers |
Resources
| URI | Description |
|---|---|
ads://fields |
Complete reference of searchable and returnable ADS fields |
ads://syntax |
ADS query syntax quick-reference with examples |
ads://rate-limits |
Live API rate-limit status |
Prompts
| Prompt | Description |
|---|---|
literature_review |
Multi-step literature review workflow for a research topic |
citation_analysis |
Citation network analysis workflow for a set of papers |
generate_bibliography |
Generate a formatted bibliography from search or bibcodes |
Similar Projects
- prtc/nasa-ads-mcp — ADS search, metrics, and library management
- thostetler/scix-mcp — MCP server for the SciX/ADS API
- blazickjp/arxiv-mcp-server — MCP server for arXiv paper search and retrieval
This server focuses on broad ADS API coverage, token-efficient output, and integration-tested reliability. Compared to arXiv-based tools, ADS enables forward/backward citation traversal (citations and references of any paper), though it is focused on astrophysics.
Development
# Install dev dependencies
uv sync
# Run tests
uv run pytest
# Lint
uv run ruff check src/ tests/
# Run the server locally
ADS_API_TOKEN=your-token uv run mcp-server-ads
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。