GitHub Releases v0.14.8 MIT Linux or macOS · native binary

Mori

Query a local code graph for callers, dependencies, and links between repositories.

Maintained by Unique Divine

Install

Download Mori 0.14.8 for your operating system and CPU, verify the archive against the release checksum, and replace /absolute/path/to/mori with the path to the installed binary in each snippet. Mori runs locally without sign-in or an API key.

Claude Code

claude mcp add mori-graph -- /absolute/path/to/mori

Codex

Add this entry to file ~/.codex/config.toml:

        [mcp_servers.mori-graph]
command = "/absolute/path/to/mori"
args = []
      

Cursor

Add this entry to file ~/.cursor/mcp.json, or to file .cursor/mcp.json in a project:

        {
  "mcpServers": {
    "mori-graph": {
      "command": "/absolute/path/to/mori",
      "args": []
    }
  }
}
      

Safety

  • 13 of 17 tools only read. The other 4 can change local indexes or graph metadata.
  • 3 tools are marked destructive. They show as destructive in the table; keep your client's approval prompt on for them. Destructive tools: delete_project, manage_adr, ingest_traces

Tools

17 tools. Tools tagged read change nothing.

ToolAccessDescriptionParameters
index_repository index repositorywriteIndex a repository. full/moderate add semantics; fast omits them; cross-repo-intelligence links services. Reports coverage gaps. Waits for the whole index by default; a large repo can exceed a client's per-call deadline. async:true starts (or joins) the index in the daemon and returns at once; poll with status:true (same repo_path) until state is succeeded, failed or cancelled. async needs a daemon that outlives the call: an MCP session or `daemon start`.repo_path*, mode, target_projects, name, persistence, index_worktree, doc_candidates, async, status
search_graph search graphreadFind symbols via BM25 query, regex name/qn filters, or semantic_query. Rows keep qn/file/lines and in/out over CALLS/USAGE/CALL_REFERENCE/INHERITS/IMPLEMENTS.project*, query, label, name_pattern, qn_pattern, file_pattern, kind, namespace, relationship, min_degree, max_degree, exclude_entry_points, include_connected, semantic_query, semantic_limit, semantic_offset, limit, offset, max_output_tokens, format, fields, detail
query_graph query graphreadRead-only Cypher for multi-hop, aggregation, complexity, or cross-service analysis. Default: 200 visible rows with exact/lower-bound totals and truncation; continue safely with next_cursor. graph=missed is a file tree of flagged coverage gaps; absence is not proof of completeness. Use get_graph_schema(diagnostics=full) for properties.query*, project*, graph, max_rows, offset, cursor, max_output_tokens, format
trace_path trace pathreadTrace callers/callees, data flow, or cross-service paths. Defaults exclude tests and resolver evidence. Rows keep qn/hop with explicit totals, relations, and continuations.function_name*, project*, direction, depth, limit, max_output_tokens, cursor, mode, include_overrides, parameter_name, edge_types, risk_labels, include_tests, format, include_evidence
get_code_snippet get code snippetreadRead a search_graph symbol. auto bounds source and outlines large containers; full restores up to 500 lines. Source/outline pages continue; coverage_note marks gaps.qualified_name*, project*, include_neighbors, source_mode, member_limit, member_offset, start_line, max_lines, max_output_tokens, format
get_file_outline get file outlinereadDeclaration outline of one exact repository-relative file: optional exact label filter, source order, exact total/offset/limit paging; file/folder/container nodes excluded.project*, file_path*, labels, limit, offset, format
get_graph_schema get graph schemareadGet node-label and edge-type counts. diagnostics=full also lists queryable properties.project*, format, diagnostics, limit, offset
compare_graphs compare graphsreadCompare two indexed snapshots: deterministic target-only additions and base-only removals of stable node/edge identities; each set capped by limit and a 512 KiB budget with exact totals and truncation reasons.base_project*, target_project*, limit, scan_limit
get_architecture get architecturereadBounded static architecture; poll pending jobs. include_behavior_evidence=true adds indexed call arguments, parameter declarations and return types; not full dataflow or runtime traces.project*, path, aspects, entry_node_id, target_node_id, expected_generation, include_behavior_evidence, format
search_code search codereadGraph-ranked text search: compact symbols, full bounded source, or file paths.pattern*, project*, file_pattern, path_filter, mode, context, regex, debug, limit, result_limit, result_offset, raw_limit, raw_offset, raw_content_offset, directory_limit, directory_offset, match_limit, source_max_lines, max_output_tokens, format
list_projects list projectsreadList projects with stable paging. Identity is lean; stats adds graph sizes.format, detail, include_details, limit, offset, metadata_only
delete_project delete projectdestructiveDelete a project from the index, including its ADR storeproject*
index_status index statusreadProject readiness, counts, root, watch state, coverage gaps, and doc_links (doc-comment references: MENTIONS edges, unresolved by reason). diagnostics adds coverage rows; verbose adds Git paths. Best-effort only; verify cited paths with check_index_coverage.project*, verbose, diagnostics, format
check_index_coverage check index coveragereadBest-effort exact-path/scope coverage and freshness, paged separately. full diagnostics adds raw detail. Clean is not proof of completeness.project*, paths, path_limit, path_offset, scopes, scope_limit, scope_offset, diagnostics, format
detect_changes detect changesreadMap a Git diff to files and impact. Page with snapshot cursors.project*, scope, direction, depth, edge_types, fixpoint, via, seeds, seed_filter, config_path, seed_limit, seed_offset, seed_cursor, limit, impact_offset, impact_cursor, changed_limit, changed_offset, changed_cursor, module_limit, module_offset, module_cursor, max_output_tokens, base_branch, since, format
manage_adr manage adrdestructiveOutline an ADR by default; get reads it; update replaces itproject*, mode, content, section_updates, section_limit, section_offset, format
ingest_traces ingest tracesdestructiveRecord observed runtime calls so the graph can distinguish observed from merely possible paths. Each trace is a call path (qualified names, adjacent = caller→callee) or a bare caller/callee pair. Stored per run label, keyed by qualified name (reindex-proof). Only pairs whose both endpoints are indexed symbols are stored; the response reports unresolved names (up to 10) so the producer can fix its naming.traces*, label, project*

* Required parameter.

More MCP Servers by Unique Divine

  • npm v1.3.11

    Discord MCP

    Discord MCP server maintained in Jiyuu. Manages channels, forums, messages, reactions, roles, and webhooks through a Discord bot.

    44 tools · 13 read-only · 31 write

    bunx @uniquedivine/mcp-discord@latest
    Setup, safety, and tools
  • npm v4.5.4

    Slack MCP

    Slack MCP server by Unique Divine. Reads and writes Slack through your browser session.

    26 tools · 16 read-only · 10 write

    bunx @uniquedivine/mcp-slack@latest
    Setup, safety, and tools
  • PyPI v2.0.5

    Telegram MCP

    Telegram MCP server maintained in Jiyuu. Reads and manages chats, messages, contacts, folders, and media through your Telegram user account.

    117 tools · 50 read-only · 67 write

    uvx uniquedivine-telegram-mcp@latest
    Setup, safety, and tools

All MCP servers →