academic-tools-mcp: Skill for Claude Code

.claude/skills/add-provider/SKILL.md

add-provider is a skill for Claude Code from hunter-heidenreich/academic-tools-mcp. It costs 46 tokens per session (810 once invoked), scanned A, original, MIT.

A development guide for adding academic data providers or OpenAlex entity types to an MCP server. OpenAlex is a research database that indexes works, authors, and other scholarly entities; an API is a service that applications call for data.

In plain words
What is it for?
It is for adding support for another academic API or OpenAlex entity, implementing cached retrieval, exposing focused tools, and writing normalization tests.
Why use it?
It gives contributors a consistent pattern for fetching, caching, normalizing, and testing scholarly data. It also points out a misleading example so new providers do not copy the wrong rate-limit behavior.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is hunter-heidenreich/academic-tools-mcp's own configuration. It tells Claude Code how to work on academic-tools-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything academic-tools-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hunter-heidenreich/academic-tools-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hunter-heidenreich/academic-tools-mcp/main/.claude/skills/add-provider/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hunter-heidenreich/academic-tools-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/hunter-heidenreich/academic-tools-mcp/add-provider/github.svg)](https://agentmods.dev/skills/hunter-heidenreich/academic-tools-mcp/add-provider)
Your own site
<a href="https://agentmods.dev/skills/hunter-heidenreich/academic-tools-mcp/add-provider"><img src="https://agentmods.dev/badge/skills/hunter-heidenreich/academic-tools-mcp/add-provider/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/hunter-heidenreich/academic-tools-mcp/add-provider"><img src="https://agentmods.dev/badge/skills/hunter-heidenreich/academic-tools-mcp/add-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00810
Opus 5 $0.00023 $0.00405
Sonnet 5 $0.00009 $0.00162
Haiku 4.5 $0.00005 $0.00081

Measured 3d ago against content hash d9cc4cd2f123, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-provider scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/add-provider/SKILL.md · 24 lines

How it starts

The opening of the file, as written. The whole thing — 24 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adding a new provider or OpenAlex entity

Adding a new OpenAlex entity

  1. Add _normalize_* and _canonical_* functions in providers/openalex.py.
  2. Add an async get_* function that checks cache, fetches, stores.
  3. Add focused tool(s) in the matching tools/*.py module (OpenAlex metadata → tools/paper.py) that extract lean slices; shared param types live in app.py.
  4. Add unit tests for normalization in tests/providers/test_openalex.py.

Adding a new API provider

Mirror providers/biorxiv.py — it is the fullest instance of the shape (both throttle wrappers, a cached_lookup getter, a PDF path). Read providers/crossref.py as a counter-example rather than a template: its rate constants are _resolve_policy() output, not literals. The shape (pooled client, _throttled_get + burst cap, _single_flight, cache → negative cache → fetch with re-checks inside the slot, 404 → negative cache) is documented in .claude/rules/providers.md and .claude/rules/net.md and .claude/rules/store.md. New clients live under providers/ and import shared infra one level up, by package (from ..net import clients, http, from ..store import cache, from ..util import config, doinorm, useragent). After mirroring it:

  1. Nothing to register: stats.throttles() and the conftest reset fixture both discover the module's _throttle instance by scanning imported modules for a Throttle-typed attribute — the name is conventional, the discovery is by type. Declare NAMESPACE and LABEL at module level and pass both to the Throttle (namespace=NAMESPACE, label=LABEL) — tests/net/test_stats.py asserts each matches, because counters are filed under the namespace and the label is the name that reaches the agent. NAMESPACE is the on-disk .cache/ directory name, so it is a data migration, not a rename — it may differ from the module name and must not be changed to follow one (providers/acl.py keeps NAMESPACE = "acl_anthology"). Use LABEL at every other site naming the provider (http.error_dict, http.parse_error_dict, stream_to_file(provider_label=)); an AST scan in tests/test_politeness.py fails on a string literal at any of them.
  2. Add env vars to .env.example and load via config.get().
  3. If the provider serves PDFs, add a _Route row to manual._ROUTES (claims, NAMESPACE, canonical_key, pdf_path) — position it before the generic-DOI fallback — and, if it also serves metadata, an entry in manual._METADATA_SOURCE_BY_NAMESPACE. Without the row nothing routes to the new namespace. If its ids need a slash restored from a stem, corpus._restore_slashes needs a clause too, or corpus hits won't chain back.
  4. Add tools in the matching tools/*.py module.
  5. Tests in tests/providers/test_<name>.py (and tests/providers/test_<name>_properties.py for anything hypothesis is stronger at), covering normalization, parsing, backpressure, 404 negative-cache, and TTL eviction / force_refresh if relevant. tests/ mirrors src/; shared fakes live in tests/helpers/ and are imported absolutely.

Read the full file on GitHub · 24 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed d9cc4cd2f123
  2. 4d ago Changed · +1 lines db3215041dd3
  3. 5d ago First seen · 23 lines · 46 tokens per session scan A c42343f93916

Subscribe to this mod's changes

add-provider is a skill published in the GitHub repository hunter-heidenreich/academic-tools-mcp (5 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 810 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

academic-research

Nested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. First action for any "get me this paper" request: python3 /scripts/fetchpaper.py — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction…

Lingtai-AI/lingtai · 180 tokens

nature-academic-search

An academic-paper search skill finds and checks research papers, preprints, clinical-trial records, and citations across sources such as PubMed, arXiv, Crossref, and OpenAlex. It can also work with identifiers such as DOI, PMID, and trial IDs.

wp-a/nature-academic-search · 122 tokens

fin-ref-paper

A reference-management tool for economics and finance research documents. It extracts citation details from research files and creates a references.bib file in formats such as BibTeX, JF, JFE, RFS, or GB/T 7714.

csmar432/finai-research · 47 tokens

bibverify

Verify, repair, explain, and generate BibTeX references with Bibverify's DOI-first CLI and MCP tools.

Hylouis233/bibverify · 26 tokens

openevidence

Query OpenEvidence (clinical evidence assistant) without an MCP server. Closely mirrors the openevidence-mcp tool surface - check auth, list question history, fetch an article, or ask a new question (with optional follow-up thread). Use when the user asks medical / evidence-based clinical questions, references…

htlin222/openevidence-mcp · 111 tokens

api-data-fetcher

Fetch economic data from FRED, World Bank, and other APIs.

brycewang-stanford/Auto-Empirical-Research-Skills · 18 tokens