GnistAI GnistAI
Log in

arXiv

Search and retrieve academic preprints across physics, math, CS, and more.

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: arXiv.org

MCP MCP Protocol

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

API REST API

API Root https://context.gnist.ai/rest/arxiv/

6 endpoints available:

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

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

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc arxiv

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

Install
pip install gnistai

Available Tools (6)

search_arxiv_papers
Search scientific papers on arXiv by keyword, category, and date range.
ParameterTypeRequiredDescription
querystringrequiredSearch terms (e.g. "attention mechanism transformer", "CRISPR gene editing"). Searches across title, abstract, and author fields.
categoryanyoptionalarXiv subject category code (e.g. "cs.AI", "q-fin.TR"). Optional.
date_fromanyoptionalOnly return papers submitted from this date onward (YYYY-MM-DD). Optional.
date_toanyoptionalOnly return papers submitted up to this date (YYYY-MM-DD). Optional.
max_resultsintegeroptionalNumber of results to return (1–25, default 10). (default: 10)
get_arxiv_paper
Get full details for a specific arXiv paper by ID.
ParameterTypeRequiredDescription
arxiv_idstringrequiredarXiv ID (e.g. "2106.09685", "2106.09685v1", or "http://arxiv.org/abs/2106.09685").
get_arxiv_author_papers
Search papers by a specific arXiv author, sorted by submission date (newest first).
ParameterTypeRequiredDescription
author_namestringrequiredAuthor's name as it appears on arXiv (e.g. "Yann LeCun", "Hinton"). Partial last names work; full names improve precision.
max_resultsintegeroptionalNumber of results to return (1–25, default 10). (default: 10)
get_arxiv_recent
Get the most recently submitted papers in an arXiv subject category.
ParameterTypeRequiredDescription
categorystringrequiredarXiv category code (e.g. "cs.LG", "q-fin.TR"). Use list_arxiv_categories() to see all supported codes.
max_resultsintegeroptionalNumber of results to return (1–25, default 10). (default: 10)
list_arxiv_categories
Return all supported arXiv subject categories with descriptions.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related