GnistAI GnistAI
Log in

Semantic Scholar

Search 200M+ academic papers, explore citation graphs, find author profiles, and get AI-powered paper recommendations across all scientific disciplines.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 8 tools tools 8 8 Science

Data source: Semantic Scholar API

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/semantic-scholar/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-semantic-scholar": {
      "url": "https://context.gnist.ai/mcp/semantic-scholar/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/semantic-scholar/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_papers", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/semantic-scholar/

8 endpoints available:

Shell
curl "https://context.gnist.ai/rest/semantic-scholar/search_papers?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/semantic-scholar/search_papers",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc semantic-scholar

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (8)

search_papers
Search 200M+ academic papers in Semantic Scholar.
ParameterTypeRequiredDescription
querystringrequiredSearch query for academic papers (e.g. "transformer attention mechanism", "CRISPR gene editing", "climate change mitigation").
limitintegeroptionalNumber of results to return (1-100, default 10). (default: 10)
offsetintegeroptionalPagination offset for additional results (default 0). (default: 0)
yearanyoptionalYear filter — single year ("2023"), range ("2020-2023"), or open range ("2020-").
fields_of_studyanyoptionalFilter by academic field (e.g. ["Computer Science"], ["Medicine", "Biology"]).
get_paper
Get detailed information about a specific academic paper.
ParameterTypeRequiredDescription
paper_idstringrequiredPaper identifier — S2 ID (40-char hex), DOI (e.g. "10.1038/s41586-021-03819-2"), ArXiv ID (e.g. "2301.12345"), or prefixed ID (e.g. "PMID:12345", "CorpusId:12345").
get_citations
Get papers that cite a given paper.
ParameterTypeRequiredDescription
paper_idstringrequiredPaper identifier (S2 ID, DOI, ArXiv ID, or prefixed ID).
limitintegeroptionalNumber of citing papers to return (1-100, default 20). (default: 20)
offsetintegeroptionalPagination offset (default 0). (default: 0)
get_references
Get papers referenced by a given paper.
ParameterTypeRequiredDescription
paper_idstringrequiredPaper identifier (S2 ID, DOI, ArXiv ID, or prefixed ID).
limitintegeroptionalNumber of referenced papers to return (1-100, default 20). (default: 20)
offsetintegeroptionalPagination offset (default 0). (default: 0)
search_authors
Search for academic authors by name.
ParameterTypeRequiredDescription
querystringrequiredAuthor name to search for (e.g. "Yann LeCun", "Geoffrey Hinton").
limitintegeroptionalNumber of results to return (1-100, default 10). (default: 10)
get_author
Get an author's profile by Semantic Scholar author ID.
ParameterTypeRequiredDescription
author_idstringrequiredSemantic Scholar author ID (numeric, e.g. "1688882").
recommend_papers
Get paper recommendations based on a seed paper.
ParameterTypeRequiredDescription
paper_idstringrequiredPaper identifier (S2 ID, DOI, ArXiv ID, or prefixed ID) to get recommendations for.
limitintegeroptionalNumber of recommendations (1-100, default 10). (default: 10)
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related