Semantic Scholar
# mcp-semantic-scholar
[](https://www.npmjs.com/package/mcp-semantic-scholar)
[](https://opensource.org/licenses/MIT)
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for the [Semantic Scholar API](https://www.semanticscholar.org/product/api). Search academic papers, citations, references, and author information directly from Claude or any MCP-compatible client.
## Features
| Tool | Description |
|------|-------------|
| `search_papers` | Search papers by keywords, filter by year and field of study |
| `get_paper` | Get paper details by Semantic Scholar ID, DOI, or ArXiv ID |
| `get_citations` | Get papers that cite a specific paper |
| `get_references` | Get references of a specific paper |
| `get_author` | Get author information and their papers |
## Installation
```
### From Source
```bash
git clone https://github.com/YOUR_USERNAME/mcp-semantic-scholar.git
cd mcp-semantic-scholar
npm install
npm run build
```
## Configuration
### Claude Desktop
Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
```json
{
"mcpServers": {
"semantic-scholar": {
"command": "npx",
"args": ["mcp-semantic-scholar"]
}
}
}
```
### Claude Code
Add to `~/.claude.json`:
```json
{
"mcpServers": {
"semantic-scholar": {
"command": "npx",
"args": ["mcp-semantic-scholar"]
}
}
}
```
### With API Key (Optional)
For higher rate limits, get an API key from [Semantic Scholar](https://www.semanticscholar.org/product/api) and set it:
```json
{
"mcpServers": {
"semantic-scholar": {
"command": "npx",
"args": ["mcp-semantic-scholar"],
"env": {
"SEMANTIC_SCHOLAR_API_KEY": "your_api_key_here"
}
}
}
}
```
## Usage Examples
Once configured, you can ask Claude:
### Search Papers
```
"Find papers about normalizing flows for anomaly detection"
"Search for transformer papers from 2023"
```
### Get Paper Details
```
"Get details for arXiv:2103.00020"
"Look up the paper with DOI 10.1038/nature14539"
```
### Find Citations
```
"What papers cite the Attention Is All You Need paper?"
"Show me recent citations of this paper"
```
### Get References
```
"What papers does this paper reference?"
```
### Author Information
```
"Find papers by Geoffrey Hinton"
```
## API Response Format
Papers are returned with the following information:
```json
{
"paperId": "649def34f8be52c8b66281af98ae884c09aef38b",
"title": "Attention Is All You Need",
"authors": [
{ "authorId": "1234567", "name": "Ashish Vaswani" }
],
"year": 2017,
"citationCount": 90000,
"abstract": "The dominant sequence transduction models...",
"venue": "NeurIPS",
"publicationDate": "2017-06-12",
"openAccessPdf": {
"url": "https://arxiv.org/pdf/1706.03762"
},
"externalIds": {
"DOI": "10.48550/arXiv.1706.03762",
"ArXiv": "1706.03762"
}
}
```
## Rate Limits
- **Without API Key**: 100 requests per 5 minutes
- **With API Key**: Higher limits (check [Semantic Scholar API docs](https://api.semanticscholar.org/api-docs/))
## Development
```bash
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Run locally
npm start
```
## License
MIT
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## Related
- [Model Context Protocol](https://modelcontextprotocol.io/)
- [Semantic Scholar API](https://www.semanticscholar.org/product/api)
- [MCP Servers](https://github.com/modelcontextprotocol/servers)
TDQS
Scored across 5 tools
Each tool targets a distinct resource+action: search by query, fetch a paper, traverse citations forward, traverse references backward, and fetch an author. The citations/references pair is the only potential confusion, but the descriptions explicitly state the direction, so boundaries are clear.
All tools follow a consistent snake_case verb_noun pattern (search_papers, get_paper, get_citations, get_references, get_author). No mixing of conventions or vague verbs.
Five tools is well-scoped for a read-only academic metadata lookup server; every tool earns its place and there is no redundant surface. Nothing feels missing at the count level.
The core read-only lifecycle is covered: search, retrieve by ID/DOI/ArXiv, forward citations, backward references, and author lookup. Minor gaps exist—no way to list an author's papers or get recommendations—but agents can work around these via search_papers.