parkour-mcp CLAUDE.md

parkour-mcp CLAUDE.md is an instructions file for Claude Code from blightbow/parkour-mcp. It costs 7,787 tokens per session, scanned A, original, MIT.

Repository instructions for parkour-mcp, a server that gathers and explores web and research content through several APIs. They document the project layout, commands, tests, and release tasks.

In plain words
What is it for?
Use them when developing parkour-mcp, running mocked or live tests, regenerating examples, creating its desktop bundle, or previewing a release.
Why use it?
They give an coding agent the project-specific rules needed to run the right tests, understand the codebase, and package changes correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/blightbow/parkour-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/blightbow/parkour-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 parkour-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/blightbow/parkour-mcp/claude-md.svg)](https://agentmods.dev/instructions/blightbow/parkour-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/blightbow/parkour-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/blightbow/parkour-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,787 This file is loaded in full into every session.
When invoked 7,787 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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.07787 $0.07787
Opus 5 $0.03893 $0.03893
Sonnet 5 $0.01557 $0.01557
Haiku 4.5 $0.00779 $0.00779

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

Security

Grade A, and why

parkour-mcp CLAUDE.md scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`kagi.py`** — Search via the v1 API over httpx with Bearer auth, supporting `workflow` (search/images/videos/news/podcasts), `lens_id`, `page`, and flat `region`/`after`/`before` filters that assemble into v1's `filt
CLAUDE.md · 215 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project

parkour-mcp — an MCP server providing a content exploration and research synthesis pipeline. Uses clean first-party APIs to surface and explore web content without summarization. Integrates Kagi, Semantic Scholar, arXiv, deps.dev, IETF, GitHub, MediaWiki, Reddit, Discourse, YouTube, and DOI resolution APIs into a unified tool suite for Claude Code and Claude Desktop.

Commands

# Run mocked unit tests (default, excludes live tests)
uv run pytest

# Run a single test file or specific test
uv run pytest tests/test_arxiv.py
uv run pytest tests/test_arxiv.py::test_function_name

# Run live integration tests (hits real endpoints)
uv run pytest -m live

# Regenerate README examples (live endpoints + Reddit fixtures)
uv run python3 scripts/regenerate_readme_examples.py

# Pack Claude Desktop Extension bundle
just pack

# Preview next release (version + CHANGELOG entry), no writes
just release-preview

Architecture

Module Layout (parkour_mcp/)

  • __init__.py — MCP server entry point. Registers 13 always-on tools, plus 1 optional (SemanticScholar, gated by S2_ACCEPT_TOS), with profile-specific names (PascalCase for code, snake_case for desktop). Description templates have placeholders replaced at registration time.
  • detection.py — Pure, stdlib-only URL/identifier classification: the _detect_*_url predicates, regexes, ID extractors, and RedditPageType for arXiv, DOI, Semantic Scholar, IETF, and Reddit. Imported at module top by fetch_direct.py, _pipeline.py, and kagi.py (and by the source modules for their own internal use). Kept dependency-free so the fast-path dispatchers and sibling tools can classify a URL without loading a source module's transport stack (httpx, wreq). Also hosts HFUrlMatch / _detect_hf_url for HuggingFace: gated, private, and nonexistent are all response properties on the Hub (it returns an identical 401 for the three), so nothing about classifying a Hub URL can consult a token and detection stays pure. GitHub is the exception that proves the rule — its detection stays in github.py because _detect_github_url consults _get_github_token() to auth-gate discussion URLs, so it is not stateless. MediaWiki and Discourse detect at fetch time, not from the URL.
  • _pipeline.py — Shared processing layer. Owns the fast-path dispatch chain, multi-entry caching (_WikiCache LRU, _PageCache 2Q), slicing, BM25 search, and section filtering. URL detection itself lives in detection.py. Also owns unspaced-script indexing, the character n-gram path that makes BM25 work for Japanese, Chinese, Korean, Thai and their neighbours: tantivy's default analyzer breaks on non-alphanumerics only, so a whole Japanese clause indexes as one term and every query over such a page returned nothing. _unspaced_runs splits the text into runs of those scripts and each indexed field gains an _unspaced shadow carrying the same content under an n-gram analyzer, which is Lucene's dictionary-free CJK approach — a segmenter (lindera, jieba) is not reachable from tantivy-py without a from-source build, and NTCIR evaluations find character bigrams competitive with one regardless. youtube.py imports the same three helpers for its transcript index, so any index over a schema declaring an _unspaced field must be constructed via _new_search_index, which registers the analyzer; a bare tantivy.Index(schema) accepts no documents.
  • markdown.py — HTML→markdown conversion. Two converters, deliberately: the generic path (html_to_markdown) runs the Rust-backed htmd, ~12–47× faster than the markdownify implementation it replaced in da4f54a while recovering +27.6% content on table-heavy pages; the custom TextOnlyConverter (markdownify + BS4) is retained solely for mediawiki.py, which applies BS4 transforms (navbox pruning, math extraction, footnote rewriting) before converting and so cannot hand raw HTML to htmd. _wrap_bare_pre_in_code runs before conversion because htmd fences only <pre><code>: Sphinx and Pygments emit <pre><span class="k">… with no <code> wrapper, so without it every # comment in a Python example lands at column zero and reads as a heading (31 phantom level-1 sections on Django's queryset reference, 21 on PEP 8). Two further pre-conversion passes repair headings that htmd would otherwise lose to the markup around them, each the other's mirror image: _unwrap_heading_anchors drops an <a> wrapped around a heading, which straddles a block boundary and leaves orphan link syntax on the heading line (site mastheads and card links); _flatten_heading_blocks replaces a block element nested inside a heading with a space, since it ends the # line and pushes the title down into body prose (Mintlify's docs theme, which put all 30 headings of Claude Code's own memory page out of reach). Both tag sets are measured against htmd rather than taken from the HTML spec — the two disagree in both directions. Section extraction with fuzzy slug matching, preceded by _promote_list_headings: accordion and disclosure widgets nest each section's <h2> in an <li>, so the heading is lifted to line start and the item body dedented, or the line-start anchor misses every one of them. An explicit list marker is required, which is what keeps # comment lines in unfenced indented code blocks from being read as headings. Content fencing. Semantic truncation for markdown, hard truncation for structured formats. Also hosts _plaintext_presplit, the generic line-oriented cache presplitter with the issue-#6 circuit breaker: it has no source-specific behavior and more than one tool needs it (github.py#_blob_presplit uses it as the fallback under tree-sitter, huggingface.py uses it directly since none of the formats that tool reads have a grammar registered), so it lives at the common ancestor rather than in either tool.
  • shelf.py — Research shelf implementation. All public methods guarded by asyncio.Lock.

Read the full file on GitHub · 215 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. 6d ago First seen · 215 lines · 7,787 tokens per session scan A b0735f0a629e

Subscribe to this mod's changes

parkour-mcp CLAUDE.md is an instructions file published in the GitHub repository blightbow/parkour-mcp (4 stars, last pushed 16d ago), licensed MIT. It adds 7,787 tokens to every session, about $0.0389 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens