MCPcopy Create free account

hub / github.com/jgravelle/jcodemunch-mcp / functions

Functions15,787 in github.com/jgravelle/jcodemunch-mcp

↓ 1,082 callersMethodget
tests/fixtures/cpp/sample.cpp:20
↓ 633 callersMethodget
(self, name: str)
src/jcodemunch_mcp/tools/_call_graph.py:149
↓ 604 callersFunctionparse_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 callersFunctionindex_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 callersMethodrun
(self)
tests/test_v1_108_86.py:32
↓ 230 callersMethodupdate
Emit progress for real completed work (throttled).
src/jcodemunch_mcp/progress.py:131
↓ 227 callersMethodclear
Delete saved state file.
src/jcodemunch_mcp/tools/session_state.py:234
↓ 188 callersMethodclose
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 callersMethodadd
Add delta to the running total. Returns new cumulative total.
src/jcodemunch_mcp/storage/token_tracker.py:321
↓ 170 callersMethoddecode
(self, token: str)
src/jcodemunch_mcp/encoding/format.py:145
↓ 159 callersMethodsearch
(*a, **kw)
tests/test_reuse_audit.py:355
↓ 157 callersMethodload_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 callersMethodget
(self, key, default=None, repo=None)
src/jcodemunch_mcp/server.py:8450
↓ 139 callersFunctionsearch_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 callersMethodencode
(self, texts, **_kwargs)
tests/test_embed_model_version_floor.py:32
↓ 110 callersMethodmatch
(path: string)
tests/fixtures/pkg_smoke/web/router.ts:16
↓ 107 callersMethodsearch
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 callersMethodparse
(self, source)
tests/test_parse_budget_cancels.py:475
↓ 101 callersMethodencode
Return the legend handle if known, else the raw value.
src/jcodemunch_mcp/encoding/format.py:85
↓ 97 callersMethodcount
Return the number of stored embeddings.
src/jcodemunch_mcp/storage/embedding_store.py:432
↓ 93 callersMethodclose
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 callersMethodget
Return the embedding for one symbol, or None.
src/jcodemunch_mcp/storage/embedding_store.py:179
↓ 91 callersMethod_db_path
Path to the SQLite database file for a repo.
src/jcodemunch_mcp/storage/sqlite_store.py:878
↓ 88 callersMethodwarning
One sentence naming what cannot be proven, and how to fix it.
src/jcodemunch_mcp/tools/_corpus_adequacy.py:94
↓ 84 callersMethodget
(self, owner: str, name: str)
src/jcodemunch_mcp/runtime/http_routes.py:91
↓ 74 callersFunctionbuild_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 callersMethodadd
(route: Route)
tests/fixtures/pkg_smoke/web/router.ts:13
↓ 69 callersFunctionresolve_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 callersMethodsleep
(self, seconds: float)
tests/test_process_locks.py:273
↓ 67 callersMethodindex
(self)
tests/test_repeat_subdir_walk.py:54
↓ 66 callersMethod_connect
Open a connection with WAL pragmas and schema ensured on first visit.
src/jcodemunch_mcp/storage/sqlite_store.py:883
↓ 64 callersMethodrun
Main loop: monitor for crashed tasks and restart them. Self-restarts on crash.
src/jcodemunch_mcp/watcher.py:1088
↓ 63 callersFunctionresolve_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 callersFunctionextract_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 callersMethodmonotonic
(self)
tests/test_v1_108_172.py:60
↓ 59 callersFunction_symbols
()
tests/test_al.py:34
↓ 59 callersFunctionget_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 callersMethodstart
Emit initial 0% notification.
src/jcodemunch_mcp/progress.py:121
↓ 58 callersMethodsave_index
Save index via SQLite backend.
src/jcodemunch_mcp/storage/index_store.py:1127
↓ 57 callersFunctionmake_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 callersFunctioncall_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 callersFunctionget_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 callersFunctionget_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 callersMethodinspect_index
Return index presence/loadability without changing load_index's contract.
src/jcodemunch_mcp/storage/index_store.py:1201
↓ 50 callersFunctionload_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 callersFunctionget_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 callersFunctionindex_status_to_tool_error
Convert an index status probe into a consistent tool error.
src/jcodemunch_mcp/tools/_utils.py:179
↓ 47 callersFunctionresolve_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 callersFunction_run_with_stdin
Call *func* with fake stdin/stdout/stderr and return (exit_code, stdout, stderr).
tests/test_hooks.py:48
↓ 46 callersFunctionget
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 callersFunction_by_name
(source: str)
tests/test_racket_language.py:37
↓ 45 callersFunctionfind_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 callersFunctionget_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 callersFunctioncompute_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 callersFunctionget_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 callersMethodclassify
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 callersMethodparse
(self, *args, **kwargs)
src/jcodemunch_mcp/parser/parse_budget.py:225
↓ 42 callersMethodread
(cls, text: str, prefix: str = "@")
src/jcodemunch_mcp/encoding/format.py:107
↓ 40 callersFunction_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 callersFunctioncheck_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 callersFunctionlist_tools
List all available tools.
src/jcodemunch_mcp/server.py:1464
↓ 39 callersMethodload_index
(self, owner, name)
tests/test_digest.py:36
↓ 38 callersFunctioncreate_mini_index
Create a minimal indexed repo. Returns (repo_id, storage_path_str).
tests/conftest_helpers.py:10
↓ 38 callersFunctionfind_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 callersFunctionget_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 callersMethoddetect
(self, folder_path: Path)
src/jcodemunch_mcp/parser/context/laravel.py:358
↓ 37 callersMethodlist_repos
List all indexed repositories (SQLite + legacy JSON).
src/jcodemunch_mcp/storage/index_store.py:1467
↓ 37 callersFunctionmain
()
mcpb/server/main.py:12
↓ 35 callersFunctiondiscover_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 callersFunction_make_folder
Create a temp subfolder and return its Path.
tests/test_watcher_lock.py:36
↓ 34 callersFunction_write
(path: Path, content: str)
tests/test_laravel_provider.py:23
↓ 34 callersFunctionclassify
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 callersMethodload
(self, folder_path: Path)
src/jcodemunch_mcp/parser/context/laravel.py:367
↓ 33 callersMethodsession_stats
Return session-level stats (process lifetime).
src/jcodemunch_mcp/storage/token_tracker.py:350
↓ 32 callersMethodpost
(self, url, **kwargs)
tests/test_v1_108_163.py:53
↓ 32 callersMethodwrite
(self)
src/jcodemunch_mcp/encoding/format.py:100
↓ 31 callersMethod_db_path
(self, owner, name)
tests/test_v1_108_119.py:33
↓ 31 callersFunctionget_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 callersMethodsave_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 callersMethodwrite
(self, text)
harness/__main__.py:61
↓ 30 callersFunction_make_laravel_project
Create a minimal Laravel project skeleton.
tests/test_laravel_provider.py:28
↓ 30 callersFunctioncheck_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 callersFunctionrender_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 callersFunction_run
(func, stdin_text: str)
tests/test_hook_steering_fixes.py:24
↓ 28 callersFunctioninvestigate
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 callersFunctionmark_reindex_start
Mark a repo as actively reindexing.
src/jcodemunch_mcp/reindex_state.py:109
↓ 28 callersFunctionplan_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 callersMethodrender
(&self)
tests/fixtures/rust/basics.rs:39
↓ 27 callersFunction_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 callersFunction_node_text
Return the decoded text of a tree-sitter node.
src/jcodemunch_mcp/parser/extractor.py:5802
↓ 27 callersFunction_walk
(node)
src/jcodemunch_mcp/parser/extractor.py:8705
↓ 27 callersMethodfind
Finds a user by ID.
tests/fixtures/ruby/sample.rb:26
↓ 27 callersMethodget_extra_imports
Return Blade and route import edges for the dependency graph.
src/jcodemunch_mcp/parser/context/laravel.py:752
↓ 27 callersFunctionget_journal
Get the singleton SessionJournal instance.
src/jcodemunch_mcp/tools/session_journal.py:295
↓ 27 callersMethodpush
(&mut self, name: String, kind: &'static str, line: usize)
benchmarks/rust_fidelity/oracle/src/main.rs:61
↓ 27 callersMethodset_many
Upsert multiple symbol embeddings in one transaction.
src/jcodemunch_mcp/storage/embedding_store.py:470
↓ 26 callersFunction_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 callersMethodload
(self, result)
tests/test_repeat_subdir_walk.py:60
↓ 26 callersMethodload_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 callersFunction_r183_call
(server, tool, args)
tests/test_v1_108_183.py:62
next →1–100 of 15,787, ranked by callers