Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jgravelle/jcodemunch-mcp
/ functions
Functions
15,787 in github.com/jgravelle/jcodemunch-mcp
⨍
Functions
15,787
◇
Types & classes
1,647
↳
Endpoints
120
↓ 1,082 callers
Method
get
tests/fixtures/cpp/sample.cpp:20
↓ 633 callers
Method
get
(self, name: str)
src/jcodemunch_mcp/tools/_call_graph.py:149
↓ 604 callers
Function
parse_file
Parse source code and extract symbols using tree-sitter. Args: content: Raw source code filename: File path (for ID generation)
src/jcodemunch_mcp/parser/extractor.py:345
↓ 462 callers
Function
index_folder
Index a local folder containing source code. Args: path: Path to local folder (absolute or relative). use_ai_summaries: Whether t
src/jcodemunch_mcp/tools/index_folder.py:1439
↓ 236 callers
Method
run
(self)
tests/test_v1_108_86.py:32
↓ 230 callers
Method
update
Emit progress for real completed work (throttled).
src/jcodemunch_mcp/progress.py:131
↓ 227 callers
Method
clear
Delete saved state file.
src/jcodemunch_mcp/tools/session_state.py:234
↓ 188 callers
Method
close
Stop accepting sends; return in-flight notification futures. Called by the dispatcher (via ``drain_reporter``) before the tool respon
src/jcodemunch_mcp/progress.py:168
↓ 172 callers
Method
add
Add delta to the running total. Returns new cumulative total.
src/jcodemunch_mcp/storage/token_tracker.py:321
↓ 170 callers
Method
decode
(self, token: str)
src/jcodemunch_mcp/encoding/format.py:145
↓ 159 callers
Method
search
(*a, **kw)
tests/test_reuse_audit.py:355
↓ 157 callers
Method
load_index
Load index from storage. Prefers SQLite, auto-migrates from JSON. When branch is non-empty and a branch delta exists, the base index
src/jcodemunch_mcp/storage/index_store.py:1243
↓ 152 callers
Method
get
(self, key, default=None, repo=None)
src/jcodemunch_mcp/server.py:8450
↓ 139 callers
Function
search_symbols
Search for symbols matching a query. Args: repo: Repository identifier (owner/repo or just repo name). query: Search query.
src/jcodemunch_mcp/tools/search_symbols.py:590
↓ 123 callers
Method
encode
(self, texts, **_kwargs)
tests/test_embed_model_version_floor.py:32
↓ 110 callers
Method
match
(path: string)
tests/fixtures/pkg_smoke/web/router.ts:16
↓ 107 callers
Method
search
Search symbols with weighted scoring. Args: limit: When > 0, use a bounded heap to cap memory at ~limit items.
src/jcodemunch_mcp/storage/index_store.py:810
↓ 102 callers
Method
parse
(self, source)
tests/test_parse_budget_cancels.py:475
↓ 101 callers
Method
encode
Return the legend handle if known, else the raw value.
src/jcodemunch_mcp/encoding/format.py:85
↓ 97 callers
Method
count
Return the number of stored embeddings.
src/jcodemunch_mcp/storage/embedding_store.py:432
↓ 93 callers
Method
close
Checkpoint and close all WAL files for every indexed repo. Call from server shutdown to compact WAL files before exit. Safe to call m
src/jcodemunch_mcp/storage/index_store.py:924
↓ 93 callers
Method
get
Return the embedding for one symbol, or None.
src/jcodemunch_mcp/storage/embedding_store.py:179
↓ 91 callers
Method
_db_path
Path to the SQLite database file for a repo.
src/jcodemunch_mcp/storage/sqlite_store.py:878
↓ 88 callers
Method
warning
One sentence naming what cannot be proven, and how to fix it.
src/jcodemunch_mcp/tools/_corpus_adequacy.py:94
↓ 84 callers
Method
get
(self, owner: str, name: str)
src/jcodemunch_mcp/runtime/http_routes.py:91
↓ 74 callers
Function
build_verdict
Compute the unified verdict plus the legacy negative_evidence dict. Returns ``{"verdict": <_meta.verdict>, "negative_evidence": <dict|None>}``.
src/jcodemunch_mcp/retrieval/verdict.py:208
↓ 71 callers
Method
add
(route: Route)
tests/fixtures/pkg_smoke/web/router.ts:13
↓ 69 callers
Function
resolve_specifier
Attempt to resolve an import specifier to a concrete file in the index. Resolves relative imports (starting with '.') and tries common extension
src/jcodemunch_mcp/parser/imports.py:2157
↓ 69 callers
Method
sleep
(self, seconds: float)
tests/test_process_locks.py:273
↓ 67 callers
Method
index
(self)
tests/test_repeat_subdir_walk.py:54
↓ 66 callers
Method
_connect
Open a connection with WAL pragmas and schema ensured on first visit.
src/jcodemunch_mcp/storage/sqlite_store.py:883
↓ 64 callers
Method
run
Main loop: monitor for crashed tasks and restart them. Self-restarts on crash.
src/jcodemunch_mcp/watcher.py:1088
↓ 63 callers
Function
resolve_repo
Resolve an indexed repository id or unique bare display/name. Also accepts a filesystem path ('.', './sub', an absolute path) and maps it to
src/jcodemunch_mcp/tools/_utils.py:140
↓ 61 callers
Function
extract_imports
Extract import edges from source file content. Args: content: Raw source file text. file_path: Path of the file (used for context
src/jcodemunch_mcp/parser/imports.py:1441
↓ 61 callers
Method
monotonic
(self)
tests/test_v1_108_172.py:60
↓ 59 callers
Function
_symbols
()
tests/test_al.py:34
↓ 59 callers
Function
get_language_for_path
Return the language name for a file path, handling compound extensions. Check order: 1. Well-known OpenAPI/Swagger basenames (openapi.yaml, s
src/jcodemunch_mcp/parser/languages.py:2237
↓ 59 callers
Method
start
Emit initial 0% notification.
src/jcodemunch_mcp/progress.py:121
↓ 58 callers
Method
save_index
Save index via SQLite backend.
src/jcodemunch_mcp/storage/index_store.py:1127
↓ 57 callers
Function
make_symbol_id
Generate unique symbol ID. Format: {file_path}::{qualified_name}#{kind} Example: src/main.py::MyClass.login#method The file_path is kept
src/jcodemunch_mcp/parser/symbols.py:154
↓ 54 callers
Function
call_tool
Dispatch a tool call, then bound the reply it produced. Kept as the registered entry point (and the name the front door re-dispatches through
src/jcodemunch_mcp/server.py:5686
↓ 53 callers
Function
get_blast_radius
Find all files that would be affected if a symbol's signature or behaviour changed. Uses two-stage analysis: 1. Dependency graph — collect
src/jcodemunch_mcp/tools/get_blast_radius.py:429
↓ 53 callers
Function
get_dead_code_v2
Find likely-dead functions and methods using three independent signals. Args: repo: Repo identifier. min_confidence: Mi
src/jcodemunch_mcp/tools/get_dead_code_v2.py:460
↓ 53 callers
Method
inspect_index
Return index presence/loadability without changing load_index's contract.
src/jcodemunch_mcp/storage/index_store.py:1201
↓ 50 callers
Function
load_config
Load global config.jsonc. Called once from main(). `create_missing=False` suppresses the auto-creation of a default config file below. Used b
src/jcodemunch_mcp/config.py:761
↓ 48 callers
Function
get_parser
The pack's `get_parser`, with a failure recorded per grammar name before it re-raises. ⚠ THE ONE IMPORT SITE for the pack's parser loader (review
src/jcodemunch_mcp/parser/grammar_pack.py:91
↓ 47 callers
Function
index_status_to_tool_error
Convert an index status probe into a consistent tool error.
src/jcodemunch_mcp/tools/_utils.py:179
↓ 47 callers
Function
resolve_repo
Resolve a filesystem path to its indexed repo identifier. Thin wrapper over `_resolve_repo_impl` that flags relative-path inputs. Relative-p
src/jcodemunch_mcp/tools/resolve_repo.py:459
↓ 46 callers
Function
_run_with_stdin
Call *func* with fake stdin/stdout/stderr and return (exit_code, stdout, stderr).
tests/test_hooks.py:48
↓ 46 callers
Function
get
Get config value, resolving project -> global -> default. ⚠ v1.108.250 (#416 follow-up, @domis86): `_PROJECT_CONFIGS` holds ONLY the keys a p
src/jcodemunch_mcp/config.py:1113
↓ 45 callers
Function
_by_name
(source: str)
tests/test_racket_language.py:37
↓ 45 callers
Function
find_importers
Find all indexed files that import from file_path. Supports two modes: - Singular: pass ``file_path`` to get the original flat response shape
src/jcodemunch_mcp/tools/find_importers.py:316
↓ 45 callers
Function
get_ranked_context
Assemble the best-fit context for a query within a token budget. Ranks all symbols by relevance (BM25) and/or centrality (PageRank), loads so
src/jcodemunch_mcp/tools/get_ranked_context.py:222
↓ 43 callers
Function
compute_content_hash
Compute SHA-256 content hash for drift detection. Args: source_bytes: Raw bytes of the symbol source code. Returns: 64-char
src/jcodemunch_mcp/parser/symbols.py:177
↓ 43 callers
Function
get_changed_symbols
Return symbols that changed between two git commits for a locally indexed repo. Uses ``git diff --name-only`` to find changed files, re-parses bo
src/jcodemunch_mcp/tools/get_changed_symbols.py:94
↓ 42 callers
Method
classify
Return one of fresh / edited_uncommitted / stale_index / unknown. Every ``unknown`` below is a comparison that could not be made. None of
src/jcodemunch_mcp/retrieval/freshness.py:309
↓ 42 callers
Method
parse
(self, *args, **kwargs)
src/jcodemunch_mcp/parser/parse_budget.py:225
↓ 42 callers
Method
read
(cls, text: str, prefix: str = "@")
src/jcodemunch_mcp/encoding/format.py:107
↓ 40 callers
Function
_build_repo
Build a synthetic 4-file repo: utils.py — defines helper(), shared_util() services.py — imports utils; defines process() which
tests/test_call_hierarchy.py:15
↓ 39 callers
Function
check_delete_safe
Composite preflight: can this symbol be deleted safely? Returns one verdict tier, a confidence score, a ranked list of blockers, and a one-li
src/jcodemunch_mcp/tools/check_delete_safe.py:163
↓ 39 callers
Function
list_tools
List all available tools.
src/jcodemunch_mcp/server.py:1464
↓ 39 callers
Method
load_index
(self, owner, name)
tests/test_digest.py:36
↓ 38 callers
Function
create_mini_index
Create a minimal indexed repo. Returns (repo_id, storage_path_str).
tests/conftest_helpers.py:10
↓ 38 callers
Function
find_dead_code
Find dead code — files and symbols with no importers and no entry-point role. Args: repo: Repository identifier (owner/repo or bare name)
src/jcodemunch_mcp/tools/find_dead_code.py:153
↓ 38 callers
Function
get_call_hierarchy
Return incoming callers and outgoing callees for a symbol, N levels deep. Uses AST-derived call detection — no LSP required. Callers are found by
src/jcodemunch_mcp/tools/get_call_hierarchy.py:102
↓ 37 callers
Method
detect
(self, folder_path: Path)
src/jcodemunch_mcp/parser/context/laravel.py:358
↓ 37 callers
Method
list_repos
List all indexed repositories (SQLite + legacy JSON).
src/jcodemunch_mcp/storage/index_store.py:1467
↓ 37 callers
Function
main
()
mcpb/server/main.py:12
↓ 35 callers
Function
discover_local_files
Discover source files in a local folder with security filtering. Args: folder_path: Root folder to scan (must be resolved). max_f
src/jcodemunch_mcp/tools/index_folder.py:1197
↓ 34 callers
Function
_make_folder
Create a temp subfolder and return its Path.
tests/test_watcher_lock.py:36
↓ 34 callers
Function
_write
(path: Path, content: str)
tests/test_laravel_provider.py:23
↓ 34 callers
Function
classify
Return an offloadable verdict for *shape*. The verdict is a dict, not a score:: { "offloadable": "offloadable" | "not_offloada
src/jcodemunch_mcp/retrieval/offload.py:164
↓ 34 callers
Method
load
(self, folder_path: Path)
src/jcodemunch_mcp/parser/context/laravel.py:367
↓ 33 callers
Method
session_stats
Return session-level stats (process lifetime).
src/jcodemunch_mcp/storage/token_tracker.py:350
↓ 32 callers
Method
post
(self, url, **kwargs)
tests/test_v1_108_163.py:53
↓ 32 callers
Method
write
(self)
src/jcodemunch_mcp/encoding/format.py:100
↓ 31 callers
Method
_db_path
(self, owner, name)
tests/test_v1_108_119.py:33
↓ 31 callers
Function
get_symbol_source
Get full source of one or more symbols by ID. Pass symbol_id (string) for one symbol — returns flat symbol object. Pass symbol_ids (array) fo
src/jcodemunch_mcp/tools/get_symbol.py:367
↓ 31 callers
Method
save_index
Save a full index to SQLite. Replaces all existing data. v1.106.0: serialises against concurrent save_index calls from other MCP proc
src/jcodemunch_mcp/storage/sqlite_store.py:1388
↓ 31 callers
Method
write
(self, text)
harness/__main__.py:61
↓ 30 callers
Function
_make_laravel_project
Create a minimal Laravel project skeleton.
tests/test_laravel_provider.py:28
↓ 30 callers
Function
check_references
Check if an identifier is referenced anywhere: imports + file content. Combines find_references and search_text into one call. Answers "is th
src/jcodemunch_mcp/tools/check_references.py:271
↓ 29 callers
Function
render_diagram
Render any graph-producing tool's output as annotated Mermaid markup. Auto-detects the source tool from the dict's key signature and picks the
src/jcodemunch_mcp/tools/render_diagram.py:1033
↓ 28 callers
Function
_run
(func, stdin_text: str)
tests/test_hook_steering_fixes.py:24
↓ 28 callers
Function
investigate
Always bound to the fixture's own storage. A call that forgot the keyword would investigate the developer's real index: it would pass, prove
tests/test_reuse_audit.py:88
↓ 28 callers
Function
mark_reindex_start
Mark a repo as actively reindexing.
src/jcodemunch_mcp/reindex_state.py:109
↓ 28 callers
Function
plan_turn
Plan the next turn by analyzing query against the codebase. Returns confidence level, recommended symbols/files, and guidance. Args:
src/jcodemunch_mcp/tools/plan_turn.py:19
↓ 28 callers
Method
render
(&self)
tests/fixtures/rust/basics.rs:39
↓ 27 callers
Function
_build_tools_list
Build the full tool list, applying config-driven filtering and overrides. ⚠ `profile_override` asks what a DIFFERENT tier would publish without
src/jcodemunch_mcp/server.py:1543
↓ 27 callers
Function
_node_text
Return the decoded text of a tree-sitter node.
src/jcodemunch_mcp/parser/extractor.py:5802
↓ 27 callers
Function
_walk
(node)
src/jcodemunch_mcp/parser/extractor.py:8705
↓ 27 callers
Method
find
Finds a user by ID.
tests/fixtures/ruby/sample.rb:26
↓ 27 callers
Method
get_extra_imports
Return Blade and route import edges for the dependency graph.
src/jcodemunch_mcp/parser/context/laravel.py:752
↓ 27 callers
Function
get_journal
Get the singleton SessionJournal instance.
src/jcodemunch_mcp/tools/session_journal.py:295
↓ 27 callers
Method
push
(&mut self, name: String, kind: &'static str, line: usize)
benchmarks/rust_fidelity/oracle/src/main.rs:61
↓ 27 callers
Method
set_many
Upsert multiple symbol embeddings in one transaction.
src/jcodemunch_mcp/storage/embedding_store.py:470
↓ 26 callers
Function
_strip_jsonc
Strip // and /* */ comments from JSONC, respecting quoted strings. Also strips trailing commas (common in JSONC but invalid in JSON).
src/jcodemunch_mcp/config.py:642
↓ 26 callers
Method
load
(self, result)
tests/test_repeat_subdir_walk.py:60
↓ 26 callers
Method
load_index
Load index from SQLite, constructing a CodeIndex dataclass. When branch is non-empty and a branch delta exists, the base index is com
src/jcodemunch_mcp/storage/sqlite_store.py:1583
↓ 25 callers
Function
_r183_call
(server, tool, args)
tests/test_v1_108_183.py:62
next →
1–100 of 15,787, ranked by callers