GnistAI GnistAI
Log in

OpenAlex

Open scholarly metadata — works, authors, institutions, and citation networks.

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

Data source: OpenAlex

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/openalex/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-openalex": {
      "url": "https://context.gnist.ai/mcp/openalex/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/openalex/" \
  -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/openalex/

6 endpoints available:

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

resp = httpx.get(
    "https://context.gnist.ai/rest/openalex/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 openalex

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

Install
pip install gnistai

Available Tools (6)

search_papers
Search scholarly papers by keyword across 250M+ works from OpenAlex.
ParameterTypeRequiredDescription
querystringrequiredSearch terms (e.g. "transformer attention mechanisms", "CRISPR gene editing").
year_fromanyoptionalFilter to papers published from this year onward (e.g. 2020). Optional.
year_toanyoptionalFilter to papers published up to this year (e.g. 2024). Optional.
field_of_studyanyoptionalFilter by research field (e.g. "machine learning", "biology"). Optional.
max_resultsintegeroptionalNumber of results to return (1–25, default 10). (default: 10)
get_paper
Get full details for a specific paper including abstract and citation count.
ParameterTypeRequiredDescription
paper_idstringrequiredOpenAlex ID (e.g. "W2741809807"), DOI (e.g. "10.1038/s41586-021-03819-2"), or full URL (e.g. "https://openalex.org/W2741809807").
get_author_profile
Get a researcher's profile — works, citations, h-index, and affiliations.
ParameterTypeRequiredDescription
author_idstringrequiredOpenAlex author ID (e.g. "A5023888391"), ORCID (e.g. "0000-0001-6187-6610"), or full ORCID URL.
list_citations
List papers that cite or are referenced by a given paper.
ParameterTypeRequiredDescription
paper_idstringrequiredOpenAlex ID, DOI, or full URL of the paper.
directionstringoptional"cited_by" for papers that cite this one (default), or "references" for papers this paper cites. (default: "cited_by")
max_resultsintegeroptionalNumber of results to return (1–25, default 20). (default: 20)
get_trending_papers
Get recently published high-impact papers in a research field.
ParameterTypeRequiredDescription
fieldstringrequiredResearch field to search (e.g. "machine learning", "immunology", "climate change").
daysintegeroptionalLook back this many days for recent papers (default 30). (default: 30)
max_resultsintegeroptionalNumber of results to return (1–25, 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