Logo van Arxiv

Arxiv

Community
AlexAI-MCP
arxiv

Search and retrieve academic papers from arXiv using their free REST API. No API key needed.

Overzicht

UitgeverAlexAI-MCP
Repositoryhermes-CCC
Skillnaamarxiv
Sterren
134
Forks
22
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door AlexAI-MCP op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Arxiv in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/arxiv
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/arxiv .claude/skills/arxiv
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Arxiv in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Arxiv automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Arxiv niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

arXiv

Purpose

  • Use this skill to search, inspect, and download academic papers from arXiv.
  • Prefer it for literature review, paper triage, and reproducible paper retrieval.
  • arXiv access is free and does not require an API key.
  • The primary API is Atom XML over HTTP.

Base Endpoint

  • Base URL: https://export.arxiv.org/api/query
  • Response format: Atom XML feed
  • Transport: HTTP GET
  • Authentication: none

Core Record Shape

  • id: canonical entry URL for the paper
  • title: paper title
  • summary: abstract text
  • authors: ordered author list
  • published: original publication timestamp
  • categories: arXiv subject tags
  • pdf_url: direct PDF URL when present

Useful Categories

  • cs.AI
  • cs.LG
  • cs.CL
  • stat.ML
  • cs.CV

Search Syntax

  • Search terms are passed in search_query=...
  • Field prefixes narrow the query:
  • ti: title search
  • au: author search
  • abs: abstract search
  • all: broad metadata search
  • Combine terms with AND, OR, and ANDNOT
  • URL-encode spaces as + or %20

Common Query Patterns

  • all:reasoning+AND+cat:cs.AI
  • ti:transformer+AND+cat:cs.CL
  • au:Goodfellow+AND+cat:cs.LG
  • abs:diffusion+AND+cat:cs.CV
  • all:reinforcement+learning+AND+cat:stat.ML

CLI Subcommands

  • /arxiv search
  • /arxiv get
  • /arxiv recent
  • /arxiv download

Subcommand Intent

  • /arxiv search: run a query and print matching entries
  • /arxiv get: fetch one known arXiv identifier and display parsed metadata
  • /arxiv recent: list recent submissions in a category or topic
  • /arxiv download: save the PDF locally from a known identifier or PDF URL

Search Example With curl

bash
curl -s "https://export.arxiv.org/api/query?search_query=all:large+language+models+AND+cat:cs.CL&start=0&max_results=5&sortBy=relevance&sortOrder=descending"

Recent Example With curl

bash
curl -s "https://export.arxiv.org/api/query?search_query=cat:cs.LG&start=0&max_results=10&sortBy=submittedDate&sortOrder=descending"

PDF Download Example With curl

bash
curl -L "https://arxiv.org/pdf/2401.01234.pdf" -o 2401.01234.pdf

Fetch A Single Entry By Identifier

bash
curl -s "https://export.arxiv.org/api/query?id_list=2401.01234"

Rate Limit Guidance

  • Keep requests at or below 3 req/sec
  • Sleep between loops when paginating large result sets
  • Cache parsed results locally if you will revisit them
  • Avoid hammering the endpoint with concurrent workers

Python Parsing Pattern

python
import xml.etree.ElementTree as ET
from urllib.request import urlopen

API_URL = "https://export.arxiv.org/api/query?search_query=all:reasoning+AND+cat:cs.AI&start=0&max_results=3"
NS = {"atom": "http://www.w3.org/2005/Atom"}

with urlopen(API_URL) as response:
    xml_bytes = response.read()

root = ET.fromstring(xml_bytes)

for entry in root.findall("atom:entry", NS):
    paper_id = entry.findtext("atom:id", default="", namespaces=NS)
    title = entry.findtext("atom:title", default="", namespaces=NS).strip()
    summary = entry.findtext("atom:summary", default="", namespaces=NS).strip()
    published = entry.findtext("atom:published", default="", namespaces=NS)
    authors = [
        author.findtext("atom:name", default="", namespaces=NS)
        for author in entry.findall("atom:author", NS)
    ]
    categories = [node.attrib.get("term", "") for node in entry.findall("atom:category", NS)]
    pdf_url = ""
    for link in entry.findall("atom:link", NS):
        if link.attrib.get("title") == "pdf":
            pdf_url = link.attrib.get("href", "")
            break
    print("id:", paper_id)
    print("title:", title)
    print("published:", published)
    print("authors:", ", ".join(authors))
    print("categories:", ", ".join(categories))
    print("pdf_url:", pdf_url)
    print("summary:", summary[:240], "...")
    print("-" * 60)

Minimal Search Helper

python
import xml.etree.ElementTree as ET
from urllib.parse import quote_plus
from urllib.request import urlopen

def search_arxiv(query: str, max_results: int = 5) -> list[dict]:
    encoded = quote_plus(query)
    url = (
        "https://export.arxiv.org/api/query"
        f"?search_query={encoded}&start=0&max_results={max_results}"
    )
    ns = {"atom": "http://www.w3.org/2005/Atom"}
    with urlopen(url) as response:
        root = ET.fromstring(response.read())
    rows = []
    for entry in root.findall("atom:entry", ns):
        authors = [
            node.findtext("atom:name", default="", namespaces=ns)
            for node in entry.findall("atom:author", ns)
        ]
        categories = [node.attrib.get("term", "") for node in entry.findall("atom:category", ns)]
        rows.append(
            {
                "id": entry.findtext("atom:id", default="", namespaces=ns),
                "title": entry.findtext("atom:title", default="", namespaces=ns).strip(),
                "summary": entry.findtext("atom:summary", default="", namespaces=ns).strip(),
                "authors": authors,
                "published": entry.findtext("atom:published", default="", namespaces=ns),
                "categories": categories,
            }
        )
    return rows

for row in search_arxiv("all:multimodal AND cat:cs.CV", max_results=3):
    print(row["title"])

Example AI And ML Queries

  • all:chain-of-thought AND cat:cs.AI
  • all:instruction tuning AND cat:cs.CL
  • all:reward modeling AND cat:cs.LG
  • all:vision transformer AND cat:cs.CV
  • all:mixture of experts AND cat:stat.ML
  • ti:retrieval augmented generation
  • abs:alignment AND cat:cs.AI

Practical Retrieval Workflow

  1. Search broadly with all: and a category.
  2. Narrow with ti: if the result set is noisy.
  3. Pull the top 5 to 20 entries.
  4. Parse title, summary, and categories.
  5. Keep the paper id for citation and later retrieval.
  6. Download only shortlisted PDFs.

Sorting And Pagination

  • start controls the starting offset
  • max_results controls page size
  • sortBy=relevance is useful for topic search
  • sortBy=submittedDate is useful for recent monitoring
  • sortOrder=descending is typical for recent feeds

ID And PDF Notes

  • arXiv IDs may appear as modern identifiers like 2401.01234
  • older identifiers can include subject prefixes
  • PDF links usually resolve as https://arxiv.org/pdf/<id>.pdf
  • the canonical entry page remains useful for metadata stability

Bulk Access Notes

  • Use the API for ordinary search and retrieval tasks.
  • For large-scale corpus access, arXiv also publishes bulk data and S3-style access paths in some workflows.
  • Bulk S3 access is appropriate for offline indexing, not for interactive one-off queries.
  • If you need many thousands of records, prefer bulk snapshots over high-frequency API pagination.

Failure Handling

  • If the feed is empty, print the final URL and query string first.
  • If XML parsing fails, save the raw response before retrying.
  • If pdf_url is missing, synthesize it from the parsed identifier.
  • If you get throttled, back off and reduce concurrency.

Good Defaults

  • Start with max_results=5
  • Use sortBy=relevance for topic search
  • Use sortBy=submittedDate for /arxiv recent
  • Keep summaries trimmed in terminal output
  • Persist parsed metadata as JSON if you will cite or compare papers later

Output Contract

  • Always print id
  • Always print title
  • Always print summary
  • Always print authors
  • Always print published
  • Always print categories
  • Always print pdf_url if available

When Not To Use This Skill

  • Do not use this as your only citation source for final camera-ready metadata.
  • Do not assume arXiv category tags equal venue topics.
  • Do not use the interactive API for massive mirror-scale ingestion jobs.

Veelgestelde vragen

Wat doet de AI-skill Arxiv?

Search and retrieve academic papers from arXiv using their free REST API. No API key needed.

Waarom Arxiv gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Arxiv bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Arxiv in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/arxiv. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Arxiv gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Arxiv gebruiken?

Zoveel als je wilt. Je kunt Arxiv gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Arxiv gratis?

Ja. Deze skill is door AlexAI-MCP op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇