scholar-feed-mcp: Instructions file for Claude Code

CLAUDE.md

scholar-feed-mcp CLAUDE.md is an instructions file for Claude Code from YGao2005/scholar-feed-mcp. It costs 2,034 tokens per session, scanned A, original, MIT.

Project instructions for Scholar Feed MCP, a connector that lets AI agents search and work with a large collection of computer-science, artificial-intelligence, and machine-learning papers.

In plain words
What is it for?
Use them when developing, releasing, or deploying the Scholar Feed connector, especially when adding paper search, citation, library, lineage, or watch tools.
Why use it?
They keep changes in the connector focused and prevent backend logic, private project material, or deployment rules from being placed in the wrong repository.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is YGao2005/scholar-feed-mcp's own configuration. It tells Claude Code how to work on scholar-feed-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 scholar-feed-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to YGao2005/scholar-feed-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/YGao2005/scholar-feed-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/YGao2005/scholar-feed-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 scholar-feed-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ygao2005/scholar-feed-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/ygao2005/scholar-feed-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ygao2005/scholar-feed-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ygao2005/scholar-feed-mcp/claude-md/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 scholar-feed-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ygao2005/scholar-feed-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ygao2005/scholar-feed-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,034 This file is loaded in full into every session.
When invoked 2,034 The same file — it is already loaded in full.
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.02034 $0.02034
Opus 5.5 $0.00814 $0.00814
Sonnet 5.5 $0.00407 $0.00407
Haiku 4.5 $0.00203 $0.00203

Measured 2mo ago against content hash 9caa869616f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scholar-feed-mcp CLAUDE.md 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 2mo 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.md · 126 lines

How it starts

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

Scholar Feed MCP — Project Instructions

The official MCP server for Scholar Feed (600k+ CS/AI/ML papers). Published to npm as scholar-feed-mcp and hosted remotely at https://mcp.scholarfeed.org/mcp.

Deep dev/release detail lives in CONTRIBUTING.md and .local-docs/ — this file is the load-bearing guardrails. When they conflict, fix the drift.

This repo is PUBLIC. Internal specs, handoffs, runbooks, and launch/distribution material go in .local-docs/ (gitignored), never in a tracked path. Only user-facing docs — README.md, CONTRIBUTING.md — are published.

What this repo is (and isn't)

  • A thin MCP client. It exposes tools (search, citations, lineage, library, watches, …) and forwards to the real backend, which is a SEPARATE repo (../scholar-feed, FastAPI on Heroku
    • Supabase). Client tools routinely ship ahead of the backend routes they call — a tool can exist here before its endpoint is live in prod.
  • Do not put business logic, DB access, or scoring here. If a tool needs new data, the change is usually a backend serializer/route in ../scholar-feed, then a thin tool here.

Architecture — three transports, one tool set

Entry File Used by
stdio src/index.ts (the npm bin) local npx scholar-feed-mcp, Claude Desktop/Code
HTTP (Express) src/server.ts → src/server-http.ts the remote endpoint on Vercel (mcp.scholarfeed.org)
Cloudflare Worker src/worker.ts edge deploy (npm run worker:deploy)

Tools live in src/tools/ (one file per tool, registered in src/tools/index.ts). src/client.ts is the backend API wrapper (auth + error handling).

🔴 Hard rules

  • Publishing is AUTOMATED — never run npm publish by hand. publish.yml publishes on a pushed v* tag via npm OIDC trusted-publishing (no token, with provenance). Release from main: npm version <patch|minor|major> then git push --follow-tags — the tag push IS the publish. (Assistant may prepare the bump+tag; the human pushes.) See CONTRIBUTING.md → Releasing.
  • All logging to stderr (console.error). console.log() corrupts the JSON-RPC stdio transport and silently breaks the client.
  • Keep the package self-contained: dependencies must stay {}. tsup bundles everything (deps → devDeps) so cold-start npx is ~1 pkg / 0 transitive installs. Adding a runtime dep re-introduces the cold-start timeout that shipped as a silent "failed to connect".
  • The remote endpoint is src/worker.ts (Cloudflare), not the Express server. The historical trap here was Vercel zero-config auto-detecting the stdio bin and 500'ing the endpoint for two days, which vercel.json existed to prevent. Vercel is fully gone as of 2026-07-30: the account was cancelled, vercel.json is deleted, and the GitHub integration is uninstalled (it had been red-failing every PR with "deployment blocked"). If a Vercel check ever reappears on a PR, the app got reinstalled — uninstall it rather than re-adding config. src/server.ts / src/server-http.ts still back npm run dev:http for local HTTP testing — don't delete them, but don't expect them to serve prod. SF_MCP_ALLOWED_HOSTS is required for any non-loopback deploy: unset = loopback-only, which rejects every real request. Never set SF_API_KEY on the remote surface (cross-tenant leak — each request derives its own key from the Authorization header).

Read the full file on GitHub · 126 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. 2mo ago Changed · +26 lines · +451 tokens per session 9caa869616f3
  2. 2mo ago First seen · 100 lines · 1,583 tokens per session scan A dbc6623d1cc3

Subscribe to this mod's changes

scholar-feed-mcp CLAUDE.md is an instructions file published in the GitHub repository YGao2005/scholar-feed-mcp (13 stars, last pushed 17d ago), licensed MIT. It adds 2,034 tokens to every session, about $0.0081 per session on Opus 5.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-08-31.

Related

scholar-feed-mcp CLAUDE.md compared with instructions from other repositories

scholar-feed-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scholar-feed-mcp CLAUDE.mdYGao2005/scholar-feed-mcpInstructions file1317d agoMITA2,034Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode