Science
Data source: arXiv.org
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/arxiv/
6 endpoints available:
GET /rest/arxiv/search_arxiv_papersGET /rest/arxiv/get_arxiv_paperGET /rest/arxiv/get_arxiv_author_papersGET /rest/arxiv/get_arxiv_recentGET /rest/arxiv/list_arxiv_categoriesGET /rest/arxiv/report_feedback
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())
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_papersSearch scientific papers on arXiv by keyword, category, and date range.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search terms (e.g. "attention mechanism transformer", "CRISPR gene editing"). Searches across title, abstract, and author fields. |
category | any | optional | arXiv subject category code (e.g. "cs.AI", "q-fin.TR"). Optional. |
date_from | any | optional | Only return papers submitted from this date onward (YYYY-MM-DD). Optional. |
date_to | any | optional | Only return papers submitted up to this date (YYYY-MM-DD). Optional. |
max_results | integer | optional | Number of results to return (1–25, default 10). (default: 10) |
get_arxiv_paperGet full details for a specific arXiv paper by ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
arxiv_id | string | required | arXiv ID (e.g. "2106.09685", "2106.09685v1", or "http://arxiv.org/abs/2106.09685"). |
get_arxiv_author_papersSearch papers by a specific arXiv author, sorted by submission date (newest first).
| Parameter | Type | Required | Description |
|---|---|---|---|
author_name | string | required | Author's name as it appears on arXiv (e.g. "Yann LeCun", "Hinton"). Partial last names work; full names improve precision. |
max_results | integer | optional | Number of results to return (1–25, default 10). (default: 10) |
get_arxiv_recentGet the most recently submitted papers in an arXiv subject category.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | required | arXiv category code (e.g. "cs.LG", "q-fin.TR"). Use list_arxiv_categories() to see all supported codes. |
max_results | integer | optional | Number of results to return (1–25, default 10). (default: 10) |
list_arxiv_categoriesReturn all supported arXiv subject categories with descriptions.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |