Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jgravelle/jcodemunch-mcp
/ types & classes
Types & classes
1,647 in github.com/jgravelle/jcodemunch-mcp
⨍
Functions
15,787
◇
Types & classes
1,647
↳
Endpoints
120
↓ 322 callers
Class
IndexStore
Storage for code indexes with byte-offset content retrieval.
src/jcodemunch_mcp/storage/index_store.py:904
↓ 124 callers
Class
Symbol
A code symbol extracted from source via tree-sitter.
src/jcodemunch_mcp/parser/symbols.py:11
↓ 118 callers
Class
SQLiteIndexStore
Storage backend using SQLite WAL for code indexes. One .db file per repo at {base_path}/{slug}.db. Content cache remains as individual files
src/jcodemunch_mcp/storage/sqlite_store.py:846
↓ 44 callers
Class
EmbeddingStore
Thin CRUD wrapper around the ``symbol_embeddings`` SQLite table.
src/jcodemunch_mcp/storage/embedding_store.py:61
↓ 43 callers
Class
FreshnessProbe
Per-call freshness classifier. Construct once per tool invocation, then call ``classify(file_path)`` for each returned symbol's file. The pro
src/jcodemunch_mcp/retrieval/freshness.py:199
↓ 37 callers
Class
FakeIndex
Minimal CodeIndex stand-in for unit tests.
tests/test_plan_refactoring.py:36
↓ 37 callers
Class
LaravelContextProvider
Context provider for Laravel projects. Detects artisan + laravel/framework in composer.json, then parses: - routes/*.php → HTTP method, URI,
src/jcodemunch_mcp/parser/context/laravel.py:329
↓ 31 callers
Class
FakeStore
Minimal IndexStore stand-in.
tests/test_plan_refactoring.py:51
↓ 26 callers
Class
SessionJournal
Track file reads, searches, and edits during a session.
src/jcodemunch_mcp/tools/session_journal.py:27
↓ 25 callers
Class
Pin
benchmarks/competitive/adapter.py:35
↓ 24 callers
Class
ByteSlicedSource
A text view indexed by BYTE offsets, not character offsets. tree-sitter reports ``node.start_byte`` / ``node.end_byte`` as offsets into the U
src/jcodemunch_mcp/parser/extractor.py:63
↓ 22 callers
Class
ChannelResult
A single channel's ranked output. ``ranked_ids`` is an ordered list of symbol IDs from most to least relevant. Only symbols that *matched* i
src/jcodemunch_mcp/retrieval/signal_fusion.py:42
↓ 22 callers
Class
Task
benchmarks/competitive/adapter.py:52
↓ 21 callers
Class
NextjsContextProvider
Context provider for Next.js projects (App Router). Detects next.config.js/ts/mjs, then parses (app/ or src/app/ — both official layouts; a r
src/jcodemunch_mcp/parser/context/nextjs.py:76
↓ 21 callers
Class
WatcherChange
A watcher change with (change_type, path, old_hash). change_type: str — "added" | "modified" | "deleted" path: str — absolute file pa
src/jcodemunch_mcp/reindex_state.py:24
↓ 20 callers
Class
FileContext
Business context metadata for a single file from any ecosystem tool. This is the common currency between context providers and the indexing p
src/jcodemunch_mcp/parser/context/base.py:45
↓ 20 callers
Class
Obligation
One thing that must be true before deletion is justified. ``status`` is deliberately tri-state. Collapsing UNESTABLISHED into SATISFIED is ho
src/jcodemunch_mcp/investigator/deletion_safety.py:68
↓ 19 callers
Class
OpenAIBatchSummarizer
AI-based batch summarization using OpenAI-compatible endpoints (Tier 2). Supports OpenAI-hosted APIs, local LLMs, and compatible providers like M
src/jcodemunch_mcp/summarizer/batch_summarize.py:510
↓ 19 callers
Class
ProgressReporter
Emit monotonic, rate-limited MCP progress notifications. Thread-safe: ``update()`` and ``finish()`` may be called from worker threads (e.g. i
src/jcodemunch_mcp/progress.py:80
↓ 17 callers
Class
CodeIndex
Index for a repository's source code.
src/jcodemunch_mcp/storage/index_store.py:692
↓ 17 callers
Class
DecoratorRoutesProvider
Context provider for decorator-based frameworks. Detects Flask, FastAPI, Spring Boot, NestJS, and ASP.NET projects via manifest files and ext
src/jcodemunch_mcp/parser/context/decorator_routes.py:130
↓ 15 callers
Class
GcmConfig
Runtime config assembled from env vars and CLI flags.
src/jcodemunch_mcp/groq/config.py:20
↓ 13 callers
Class
IndexReport
benchmarks/competitive/adapter.py:112
↓ 13 callers
Class
MCPClient
Represents a detected MCP client and how to configure it.
src/jcodemunch_mcp/cli/init.py:162
↓ 13 callers
Class
NuxtContextProvider
Context provider for Nuxt.js projects. Detects nuxt.config.ts/js, then parses: - pages/ → file-based routing with route metadata - se
src/jcodemunch_mcp/parser/context/nuxt.py:90
↓ 12 callers
Class
Answer
benchmarks/competitive/adapter.py:70
↓ 12 callers
Class
ExpressProvider
Context provider for Express, Fastify, Hono, and Koa frameworks. Detects via package.json and extracts routes/middleware from JS/TS source files.
src/jcodemunch_mcp/parser/context/express.py:60
↓ 12 callers
Class
SessionState
Persist and restore session state across server restarts.
src/jcodemunch_mcp/tools/session_state.py:19
↓ 12 callers
Class
WatcherManager
Manages dynamic folder watching with race-safe reindexing. Attributes: _active: dict[str, asyncio.Task] — folder → watch task _w
src/jcodemunch_mcp/watcher.py:738
↓ 11 callers
Class
ComplexitySignals
Raw signals consumed by the scorer.
src/jcodemunch_mcp/agent_selector.py:63
↓ 11 callers
Class
TurnBudget
Track token usage across tool calls in a turn. A "turn" is defined as a series of tool calls with gaps less than turn_gap_seconds. When the g
src/jcodemunch_mcp/tools/turn_budget.py:8
↓ 11 callers
Class
_FakeStore
tests/test_v1_108_118.py:33
↓ 10 callers
Class
FakeResponse
tests/test_v1_108_163.py:28
↓ 10 callers
Class
_Clock
Manual monotonic clock so elapsed-time behaviour is deterministic.
tests/test_v1_108_189.py:27
↓ 10 callers
Class
_FakeParser
Stands in for tree-sitter's parser under `_BudgetedParser`.
tests/test_parse_budget_cancels.py:232
↓ 9 callers
Class
Corpus
benchmarks/competitive/adapter.py:44
↓ 9 callers
Class
LSPBridge
Manages multiple LSP servers and resolves call sites to definitions. Usage:: bridge = LSPBridge("/path/to/project", config) reso
src/jcodemunch_mcp/enrichment/lsp_bridge.py:404
↓ 9 callers
Class
_Tripwire
Counts full hydrations so a narrow call can prove it did not do one.
tests/test_selective_snapshot.py:79
↓ 8 callers
Class
CorpusAdequacy
Whether an absence claim over this index is publishable, and why not.
src/jcodemunch_mcp/tools/_corpus_adequacy.py:55
↓ 8 callers
Class
DbtContextProvider
Context provider for dbt projects. Detects dbt_project.yml, parses doc blocks and schema.yml files, and provides model-level context for symb
src/jcodemunch_mcp/parser/context/dbt.py:172
↓ 8 callers
Class
DynamicBoundary
The recorded dynamic-import sites of one index, read once.
src/jcodemunch_mcp/tools/_dynamic_boundary.py:38
↓ 8 callers
Class
GoRoutersProvider
Context provider for Gin, Chi, Echo, and Fiber frameworks. Detects via go.mod and extracts routes/middleware from Go source files.
src/jcodemunch_mcp/parser/context/go_routers.py:57
↓ 8 callers
Class
LSPServer
Manages the lifecycle of a single LSP server process.
src/jcodemunch_mcp/enrichment/lsp_bridge.py:155
↓ 8 callers
Class
RacketNode
One node. The attribute surface is the subset of tree-sitter's ``Node`` the Racket walker uses, with the same semantics.
src/jcodemunch_mcp/parser/racket_reader.py:77
↓ 8 callers
Class
WordPieceTokenizer
Minimal WordPiece tokenizer matching BERT's uncased behaviour. Loads ``vocab.txt`` (one token per line) and performs: 1. Unicode normalisatio
src/jcodemunch_mcp/embeddings/local_encoder.py:118
↓ 8 callers
Class
_Idx
tests/test_capability_certificate.py:22
↓ 7 callers
Class
DjangoProvider
Context provider for Django projects. Detects via manage.py + django dependency, then parses: - **/urls.py for URL patterns - DRF decorat
src/jcodemunch_mcp/parser/context/django.py:53
↓ 7 callers
Class
RailsProvider
Context provider for Rails projects. Detects via Gemfile + rails gem AND config/routes.rb, then parses routes.rb to extract resource routes a
src/jcodemunch_mcp/parser/context/rails.py:60
↓ 7 callers
Class
WeightTuner
Per-repo regression on the ranking ledger. Each call to ``learn`` reads the ledger, computes confidence means grouped by signal, and proposes
src/jcodemunch_mcp/retrieval/tuning.py:149
↓ 7 callers
Class
_FakeStore
tests/test_scip_evidence.py:163
↓ 7 callers
Class
_StubProvider
Minimal provider for testing — matches files whose stem is in _files.
tests/test_context_providers.py:33
↓ 6 callers
Class
BatchSummarizer
AI-based batch summarization using Claude Haiku (Tier 2).
src/jcodemunch_mcp/summarizer/batch_summarize.py:391
↓ 6 callers
Class
HeartbeatReporter
Elapsed-time liveness lines for a client that sent no progressToken. Why this exists (#383, split out of #375): ``make_progress_notify`` retu
src/jcodemunch_mcp/progress.py:208
↓ 6 callers
Class
Legends
Reusable prefix table. Builds @1, @2 ... tokens by frequency.
src/jcodemunch_mcp/encoding/format.py:38
↓ 6 callers
Class
_CalleeNameIndex
Per-traversal memo of the callee ``name -> definitions`` map. ``symbols_by_file`` is invariant during one traversal, yet ``_callees_from_refe
src/jcodemunch_mcp/tools/_call_graph.py:105
↓ 6 callers
Class
_FakeIndex
tests/test_dead_code_corpus_adequacy.py:36
↓ 6 callers
Class
_Index
tests/test_deadcode_eval_harness.py:24
↓ 5 callers
Class
BenchmarkRun
Complete benchmark run results.
munch-bench/munch_bench/evaluate.py:53
↓ 5 callers
Class
Diagnostic
One checker finding, normalised. ``line`` is 1-based. ``column`` may be None. ``severity`` is one of ``error`` / ``warning`` / ``info``. ``co
src/jcodemunch_mcp/runtime/diagnostics_log.py:39
↓ 5 callers
Class
FailureLedger
Distinct (type, message) causes with the number of batches each explains.
src/jcodemunch_mcp/embeddings/failures.py:43
↓ 5 callers
Class
FakeHTTPX
Stands in for httpx: records every call, serves scripted responses.
tests/test_v1_108_163.py:40
↓ 5 callers
Class
Position
Zero-indexed line/character position in a text document.
src/jcodemunch_mcp/enrichment/lsp_bridge.py:48
↓ 5 callers
Interface
Route
tests/fixtures/pkg_smoke/web/router.ts:2
↓ 5 callers
Class
RunResult
benchmarks/competitive/sandbox.py:106
↓ 5 callers
Class
_FakeClock
tests/test_v1_108_92.py:24
↓ 5 callers
Class
_FakeIndex
tests/test_offload.py:407
↓ 5 callers
Class
_FakeStore
tests/test_v1_108_119.py:37
↓ 5 callers
Class
_FakeStore
tests/test_v1_108_120.py:37
↓ 5 callers
Class
_Idx
Minimal stand-in: capture() reads plain attributes and never raises.
tests/test_v1_108_179.py:26
↓ 5 callers
Class
_StubProviderWithImports
Stub provider that also returns extra imports.
tests/test_context_providers.py:273
↓ 5 callers
Class
held
Context manager wrapping :func:`acquire` / :func:`release`. By default behaves like ``acquire`` — returns immediately on failure with ``False
src/jcodemunch_mcp/storage/process_locks.py:627
↓ 4 callers
Class
CallSite
An unresolved call site to be resolved via LSP.
src/jcodemunch_mcp/enrichment/lsp_bridge.py:55
↓ 4 callers
Class
EvidenceShape
Normalized description of a retrieval payload, domain-neutral. Every field distinguishes ``None`` (we could not establish this) from a measur
src/jcodemunch_mcp/retrieval/offload.py:95
↓ 4 callers
Class
GeminiBatchSummarizer
AI-based batch summarization using Google Gemini Flash (Tier 2).
src/jcodemunch_mcp/summarizer/batch_summarize.py:459
↓ 4 callers
Class
GitBlameProvider
Context provider that reads per-file last-commit metadata from git. Detected automatically when a ``.git`` directory is present in the indexed
src/jcodemunch_mcp/parser/context/git_blame.py:54
↓ 4 callers
Class
InstallerError
src/jcodemunch_mcp/service_installer.py:29
↓ 4 callers
Class
ProcessEntry
src/jcodemunch_mcp/storage/process_registry.py:50
↓ 4 callers
Class
QuestionResult
Full evaluation result for a single question.
munch-bench/munch_bench/evaluate.py:17
↓ 4 callers
Class
RuntimeConfidenceProbe
Per-call probe that stamps runtime confidence onto result entries. Construct once per tool invocation. Pass an open SQLite connection on the
src/jcodemunch_mcp/runtime/confidence.py:79
↓ 4 callers
Class
StackEvent
One logical stack — every frame contributes a runtime_stack_events row.
src/jcodemunch_mcp/runtime/stack_log.py:78
↓ 4 callers
Class
StackFrame
A single parsed (file, line, function) triple.
src/jcodemunch_mcp/runtime/stack_log.py:70
↓ 4 callers
Class
_ContentCache
Per-traversal memo of file content + split lines. A file's content is invariant during a single BFS call, but the traversal re-reads the same
src/jcodemunch_mcp/tools/_call_graph.py:68
↓ 4 callers
Class
_CountingStore
Records every file read so the test asserts WORK, not wall-clock. A timing assertion here would be a flaky gate that passes on a fast box wit
tests/test_v1_108_199.py:338
↓ 4 callers
Class
_FakeIndex
tests/test_v1_108_199.py:354
↓ 4 callers
Class
_FakeIndex
Bare object standing in for a CodeIndex (plain dataclass, no slots).
tests/test_v1_108_168.py:23
↓ 4 callers
Class
_FakeIndex
Stand-in for a hydrated CodeIndex; identity is all these tests need.
tests/test_v1_108_172.py:34
↓ 4 callers
Class
_FakeResponse
tests/test_pack_api_transport.py:115
↓ 4 callers
Class
_NamedIndex
Minimal stand-in: the derivation reads only `.symbols[*]["name"]`.
tests/test_offload.py:513
↓ 4 callers
Class
_State
Holds the in-memory accumulator for the current process.
src/jcodemunch_mcp/storage/token_tracker.py:197
↓ 3 callers
Class
BaseSummarizer
Base class for AI batch summarizers with shared prompt/parse logic. The optional `repo` field carries the active source_root for the index be
src/jcodemunch_mcp/summarizer/batch_summarize.py:162
↓ 3 callers
Class
DbtModelMetadata
Metadata for a single dbt model from schema.yml + doc blocks.
src/jcodemunch_mcp/parser/context/dbt.py:29
↓ 3 callers
Class
GitRootIdentity
Result of git-root detection. Attributes: git_root: Absolute path of the enclosing git working tree. owner: Repo owner ("local" i
src/jcodemunch_mcp/storage/git_root.py:24
↓ 3 callers
Class
IdentityDecision
Resolved local-folder index identity.
src/jcodemunch_mcp/storage/git_root.py:37
↓ 3 callers
Class
IndexLoadStatus
Presence and queryability status for a repository index.
src/jcodemunch_mcp/storage/index_store.py:587
↓ 3 callers
Class
InferenceResult
Result of a single inference call.
munch-bench/munch_bench/inference.py:18
↓ 3 callers
Class
LockHolder
Metadata about the process currently holding a lock.
src/jcodemunch_mcp/storage/process_locks.py:126
↓ 3 callers
Class
P
tests/test_inbound_plumbing.py:63
↓ 3 callers
Class
Slide
A single slide in the explainer video.
src/jcodemunch_mcp/groq/explainer.py:45
↓ 3 callers
Class
Store
tests/test_identity_mode.py:56
↓ 3 callers
Class
ThresholdError
harness/thresholds.py:43
next →
1–100 of 1,647, ranked by callers