smaniches/semantic-scholar-mcp
Semantic Scholar MCP server: 14 typed tools for paper search, citation graphs, author profiles, recommendations, PyPI/Docker.
28e96268b736s2-mcp-server1.7.15 in pyproject.tomlio.github.smaniches/semantic-scholar-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 14 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
semantic_scholar_author_batch, semantic_scholar_bulk_papers, semantic_scholar_bulk_search, semantic_scholar_export_citation, semantic_scholar_get_author, semantic_scholar_get_paper and 8 moresemantic_scholar_author_batch, semantic_scholar_bulk_papers, semantic_scholar_bulk_search, semantic_scholar_export_citation, semantic_scholar_get_author, semantic_scholar_get_paper and 8 moreNo tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts; read environment variables.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (14: 14 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
semantic_scholar_author_batchtool Retrieve multiple authors in a single request (max 1000).CredentialsSensitive paths
Retrieve multiple authors in a single request (max 1000).
semantic_scholar_bulk_paperstool Retrieve multiple papers in a single request (max 500).CredentialsSensitive paths
Retrieve multiple papers in a single request (max 500).
semantic_scholar_bulk_searchtool Search papers with sorting and cursor-based pagination for large result sets.CredentialsSensitive paths
Search papers with sorting and cursor-based pagination for large result sets.
Unlike regular search, supports sorting (e.g., by citation count), boolean
query syntax, and returns a continuation token for paging through all
results. The observed endpoint ignores ``limit`` and may return up to 1000
papers per page; the full page is returned so no row is skipped.semantic_scholar_export_citationtool Export a paper's Semantic Scholar-generated BibTeX entry verbatim.CredentialsSensitive paths
Export a paper's Semantic Scholar-generated BibTeX entry verbatim.
The upstream entry is not independently validated or corrected. DOI,
authors, titles, venues, and other metadata may be missing or inaccurate;
verify against authoritative bibliographic records before publication.
Use once you have a paper ID (from semantic_scholar_search_papers or
semantic_scholar_match_paper), e.g. paper_id='DOI:10.18653/v1/N18-3011'.
Returns the BibTeX entry as plain text - there is no response_format
option. Raises an error for an unknown ID, a paper without citation data,
or any format other than 'bibtex'.semantic_scholar_get_authortool Get author profile with optional publications list.CredentialsSensitive paths
Get author profile with optional publications list.
semantic_scholar_get_papertool Get paper details. Accepts: S2 ID, DOI:xxx, ARXIV:xxx, PMID:xxx, CorpusId:xxxCredentialsSensitive paths
Get paper details. Accepts: S2 ID, DOI:xxx, ARXIV:xxx, PMID:xxx, CorpusId:xxx
Returns title, abstract, authors, venue, year, citation counts, TLDR,
and open-access PDF link for one paper, e.g. paper_id='ARXIV:1706.03762'.
Set include_citations / include_references to also list citing and
referenced papers (fetched in parallel, 1-100 per page each). Paginate
the two directions independently with citations_offset/references_offset;
JSON output exposes citations_page.next and references_page.next.
Results are cached
in memory for 5 minutes; an unknown ID raises a not-found error. Client-side
requests use a 1.0-second unkeyed interval and a conservative 1.1-second
authenticated default; explicitly higher S2-assigned quotas can be configured.
429/502/503 responses retry automatically with backoff. Returns
Markdown by default, response_format='json' for raw JSON. To fetch many
papers at once use semantic_scholar_bulk_papers.semantic_scholar_match_papertool Find the closest title match; preserve S2's unscaled numeric matchScore.CredentialsSensitive paths
Find the closest title match; preserve S2's unscaled numeric matchScore.
semantic_scholar_multi_recommendtool Get recommendations using multiple positive and negative example papers.CredentialsSensitive paths
Get recommendations using multiple positive and negative example papers.
Use instead of semantic_scholar_recommendations when steering with more
than one example: results resemble positive_paper_ids and are pushed away
from negative_paper_ids. Example:
positive_paper_ids=['ARXIV:1706.03762', 'DOI:10.18653/v1/N19-1423'],
negative_paper_ids=['ARXIV:1409.0473']. Accepts 1-100 positive and up to
100 negative IDs in any supported paper-ID format; malformed IDs raise an
error before any request is made. Returns up to `limit` (1-500, default
10) papers, Markdown by default or response_format='json' for raw JSON.semantic_scholar_paper_authorstool Get full author profiles for a paper's authors.CredentialsSensitive paths
Get full author profiles for a paper's authors.
Unlike the abbreviated author list embedded in semantic_scholar_get_paper
results, this returns each author's complete profile - affiliations,
h-index, paper and citation counts - plus author IDs usable with
semantic_scholar_get_author. Example: paper_id='DOI:10.18653/v1/N18-3011'.
Authors are returned in listed order (limit 1-1000, default 100). Returns
Markdown by default, response_format='json' for raw JSON.semantic_scholar_recommendationstool Get paper recommendations based on a seed paper.CredentialsSensitive paths
Get paper recommendations based on a seed paper.
Provide one paper you already know (e.g. paper_id='ARXIV:1706.03762') and
receive up to `limit` similar papers. from_pool picks the candidate pool:
'recent' (default, recently published papers from all fields) or 'all-cs'
(computer-science papers of any age). When steering with several positive
or negative examples, use semantic_scholar_multi_recommend instead. An
unknown seed ID raises a not-found error. Client-side requests use a
1.0-second unkeyed interval and a conservative 1.1-second authenticated
default; explicitly higher S2-assigned quotas can be configured. 429/502/503
responses retry automatically with backoff. Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_search_authorstool Search for academic authors by name.CredentialsSensitive paths
Search for academic authors by name.
Example: query='Yoshua Bengio'. Several distinct researchers can share a
name, so confirm identity with semantic_scholar_get_author (affiliations,
h-index, publications) before attributing work; to list the authors of a
specific paper use semantic_scholar_paper_authors instead. Page with
offset/limit (max 100 per call, default 10). Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_search_paperstool Search for academic papers.CredentialsSensitive paths
Search for academic papers.
Relevance-ranked plain-text search over 200M+ papers, with year,
field-of-study, publication-type, open-access, and citation-count filters.
The query is sent unchanged; boolean and quoted-phrase syntax is
documented only for semantic_scholar_bulk_search. Page with
offset/limit (max 100 per call). For sorted or very large result sets
use semantic_scholar_bulk_search; to search inside paper full text use
semantic_scholar_snippet_search; to resolve one known title use
semantic_scholar_match_paper. Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_snippet_searchtool Search within paper full text. Returns text snippets with context.CredentialsSensitive paths
Search within paper full text. Returns text snippets with context.
Note: This endpoint is heavily rate-limited without an API key.semantic_scholar_statustool Check server health, API connectivity, and key status.CredentialsSensitive paths
Check server health, API connectivity, and key status.
Text the model reads (14)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
semantic_scholar_search_papers tool
Search for academic papers.
Relevance-ranked plain-text search over 200M+ papers, with year,
field-of-study, publication-type, open-access, and citation-count filters.
The query is sent unchanged; boolean and quoted-phrase syntax is
documented only for semantic_scholar_bulk_search. Page with
offset/limit (max 100 per call). For sorted or very large result sets
use semantic_scholar_bulk_search; to search inside paper full text use
semantic_scholar_snippet_search; to resolve one known title use
semantic_scholar_match_paper. Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_get_paper tool
Get paper details. Accepts: S2 ID, DOI:xxx, ARXIV:xxx, PMID:xxx, CorpusId:xxx
Returns title, abstract, authors, venue, year, citation counts, TLDR,
and open-access PDF link for one paper, e.g. paper_id='ARXIV:1706.03762'.
Set include_citations / include_references to also list citing and
referenced papers (fetched in parallel, 1-100 per page each). Paginate
the two directions independently with citations_offset/references_offset;
JSON output exposes citations_page.next and references_page.next.
Results are cached
in memory for 5 minutes; an unknown ID raises a not-found error. Client-side
requests use a 1.0-second unkeyed interval and a conservative 1.1-second
authenticated default; explicitly higher S2-assigned quotas can be configured.
429/502/503 responses retry automatically with backoff. Returns
Markdown by default, response_format='json' for raw JSON. To fetch many
papers at once use semantic_scholar_bulk_papers.semantic_scholar_search_authors tool
Search for academic authors by name.
Example: query='Yoshua Bengio'. Several distinct researchers can share a
name, so confirm identity with semantic_scholar_get_author (affiliations,
h-index, publications) before attributing work; to list the authors of a
specific paper use semantic_scholar_paper_authors instead. Page with
offset/limit (max 100 per call, default 10). Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_get_author tool
Get author profile with optional publications list.
semantic_scholar_recommendations tool
Get paper recommendations based on a seed paper.
Provide one paper you already know (e.g. paper_id='ARXIV:1706.03762') and
receive up to `limit` similar papers. from_pool picks the candidate pool:
'recent' (default, recently published papers from all fields) or 'all-cs'
(computer-science papers of any age). When steering with several positive
or negative examples, use semantic_scholar_multi_recommend instead. An
unknown seed ID raises a not-found error. Client-side requests use a
1.0-second unkeyed interval and a conservative 1.1-second authenticated
default; explicitly higher S2-assigned quotas can be configured. 429/502/503
responses retry automatically with backoff. Returns Markdown by default,
response_format='json' for raw JSON.semantic_scholar_bulk_papers tool
Retrieve multiple papers in a single request (max 500).
semantic_scholar_bulk_search tool
Search papers with sorting and cursor-based pagination for large result sets.
Unlike regular search, supports sorting (e.g., by citation count), boolean
query syntax, and returns a continuation token for paging through all
results. The observed endpoint ignores ``limit`` and may return up to 1000
papers per page; the full page is returned so no row is skipped.semantic_scholar_export_citation tool
Export a paper's Semantic Scholar-generated BibTeX entry verbatim.
The upstream entry is not independently validated or corrected. DOI,
authors, titles, venues, and other metadata may be missing or inaccurate;
verify against authoritative bibliographic records before publication.
Use once you have a paper ID (from semantic_scholar_search_papers or
semantic_scholar_match_paper), e.g. paper_id='DOI:10.18653/v1/N18-3011'.
Returns the BibTeX entry as plain text - there is no response_format
option. Raises an error for an unknown ID, a paper without citation data,
or any format other than 'bibtex'.semantic_scholar_match_paper tool
Find the closest title match; preserve S2's unscaled numeric matchScore.
semantic_scholar_paper_authors tool
Get full author profiles for a paper's authors.
Unlike the abbreviated author list embedded in semantic_scholar_get_paper
results, this returns each author's complete profile - affiliations,
h-index, paper and citation counts - plus author IDs usable with
semantic_scholar_get_author. Example: paper_id='DOI:10.18653/v1/N18-3011'.
Authors are returned in listed order (limit 1-1000, default 100). Returns
Markdown by default, response_format='json' for raw JSON.semantic_scholar_author_batch tool
Retrieve multiple authors in a single request (max 1000).
semantic_scholar_multi_recommend tool
Get recommendations using multiple positive and negative example papers.
Use instead of semantic_scholar_recommendations when steering with more
than one example: results resemble positive_paper_ids and are pushed away
from negative_paper_ids. Example:
positive_paper_ids=['ARXIV:1706.03762', 'DOI:10.18653/v1/N19-1423'],
negative_paper_ids=['ARXIV:1409.0473']. Accepts 1-100 positive and up to
100 negative IDs in any supported paper-ID format; malformed IDs raise an
error before any request is made. Returns up to `limit` (1-500, default
10) papers, Markdown by default or response_format='json' for raw JSON.semantic_scholar_snippet_search tool
Search within paper full text. Returns text snippets with context.
Note: This endpoint is heavily rate-limited without an API key.semantic_scholar_status tool
Check server health, API connectivity, and key status.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 14 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 14 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 14 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 14 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 14 tool handlers traced
- Tools that start processesNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 1 file at commit 28e96268b736
src/semantic_scholar_mcp/server.pysemantic_scholar_search_papers, semantic_scholar_get_paper, semantic_scholar_search_authors, semantic_scholar_get_author, semantic_scholar_recommendations, semantic_scholar_bulk_papers, semantic_scholar_bulk_search, semantic_scholar_export_citation, semantic_scholar_match_paper, semantic_scholar_paper_authors, semantic_scholar_author_batch, semantic_scholar_multi_recommend +2
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionmcp >=1.30.0,<2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials14 of 14 capabilities read credentials
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.30.0,<2 |
| Servers in the code | 2 (transport-test, transport-test-lifespan) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.smaniches/semantic-scholar-mcp |
|---|---|
| Listed in | 4 catalogs (github_search, glama, mcp_registry, mcp_toplist) |
| License | MIT |
| Created | 2025-11-26 |
| Topics | academic-tool bibliometrics citation-graph claude claude-ai claude-code literature-review mcp-server model-context-protocol python |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.