Seshat MCP logo

Seshat MCP

Maps repositories into a typed code graph for call-chain analysis, blast-radius checks, data flow, and change-history queries.

Install Seshat MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "seshat-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@papyruslabsai/seshat-mcp"
      ],
      "env": {
        "SESHAT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 28 tools correctly ().

Overview

The seshat-mcp MCP server compiles a repository into a typed symbol graph and exposes structural code intelligence through MCP. Agents can inspect modules, symbols, callers, callees, data flow, database-table usage, entry points, and the likely impact of changes. It also analyzes call-site states and repository history, including hotspots and code that changes together. Reach for it when an agent needs verified repository structure before editing code rather than relying on text search or embeddings.

Use cases

  • Trace callers before changing a shared function
  • Estimate the transitive impact of a code change
  • Find unawaited or error-prone asynchronous calls
  • Select relevant files before an agent edits code
  • Review historical hotspots and co-change patterns

Key features

  • Typed repository symbol graph
  • Call-chain and blast-radius analysis
  • Data-flow and table-usage queries
  • Per-call-site async and error-state checks
  • Function lineage and hotspot history
  • Ranked editing context recommendations

Tools28

What Seshat MCP lets your agent do. Expand a tool for its parameters.

Verified live~5.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 48d

What it can do

From the 28 tools this server returned when we ran it; 28 declare their own safety hints.

Handles credentials · 1Makes network requests · 28Read-only tools · 28
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age224 days
Maintainers1

Observed 2026-10-20 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @papyruslabsai/seshat-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads340Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed28Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Seshat MCP works

What seshat-mcp MCP server does

The seshat-mcp MCP server turns a repository into a compiled representation of its code structure. The graph covers functions, classes, routes, tables, dependency edges, data flow, constraints, and selected history signals. Agents can use that representation to understand how a symbol is used, what a change may affect, and which files are most relevant before making an edit.

The server is intended for repository investigation rather than general file search. It can identify public entry points, locate entities by name or organizational attributes, trace callers and callees, and report symbols that appear unreachable. Its answers include coverage information, and its history analysis describes commit-resolution correlation without presenting correlation as causation.

How it works

A repository is synchronized into the service and compiled into a typed symbol graph. The agent then queries that graph through MCP tools. Public repositories are cloned from GitHub; private repositories require a connected GitHub account. Source is processed in Papyrus Labs cloud infrastructure, where the graph is cached for subsequent queries.

The workflow can start with project and module discovery, continue with symbol or entry-point queries, and then move into dependency, data-flow, or blast-radius analysis. For JavaScript, TypeScript, and Python call sites, the server can distinguish states such as unawaited asynchronous calls, promises used as conditions, failures without surrounding error handling, and dropped results.

History data comes from the repository’s commit record and is backfilled during the first synchronization. Lineage describes changes to a function’s body, calls, signature, or data, along with CI outcomes, reverts, related changes, and the last recorded change that forced an update. Hotspot and co-change queries provide additional historical context.

Setup and configuration

Installation uses the published npm package and a setup command:

Terminal
npx -y @papyruslabsai/seshat-mcp setup <your-key>

The setup process writes MCP configuration and stores the API key. A free key is available from the Seshat service, and the first extraction is free. Manual configuration can run the package with npx and provide SESHAT_API_KEY in the server environment:

config.json
{
  "mcpServers": {
    "seshat": {
      "command": "npx",
      "args": ["-y", "@papyruslabsai/seshat-mcp"],
      "env": { "SESHAT_API_KEY": "your-key" }
    }
  }
}

The README names Claude Code and Cursor as manual-configuration examples, while also stating that any MCP client can be configured this way.

Tools and capabilities

The seshat-mcp MCP server exposes tools for several investigation stages:

  • list_projects and list_modules show synchronized projects and code organization.
  • query_entities and find_entry_points locate symbols, routes, exports, and public API surfaces.
  • get_entity, get_dependencies, get_data_flow, and get_blast_radius explain relationships, behavior, and transitive change impact.
  • get_optimal_context ranks the smallest useful set of files to read before editing.
  • find_by_constraint searches for functions associated with a table or trait, while find_dead_code identifies unreachable symbols.
  • query_call_sites checks per-call states in JavaScript, TypeScript, and Python.
  • get_lineage, get_hotspots, and get_co_change_clusters use commit history to show evolution, unstable areas, and files that commonly change together.

Limitations and notes

Analysis runs in the Papyrus Labs cloud rather than locally. Public repositories are cloned from GitHub, private repositories need GitHub account access, and processed source is cached to serve queries.

Usage beyond the free tier is priced per query, with a stated typical investigation range of five to fifteen queries. The repository describes the server as MIT licensed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Seshat MCP

seshat-mcp is an MCP server that connects AI agents to synchronized code repositories through a compiled symbol graph. Its main tools inspect projects, modules, entities, entry points, dependencies, data flow, blast radius, call-site states, dead code, and repository history so agents can investigate code structure before editing.

Install it with `npx -y @papyruslabsai/seshat-mcp setup <your-key>`. The setup command writes MCP configuration and stores the API key. You can also configure the package manually with `npx` and the `SESHAT_API_KEY` environment variable.

Yes, Cursor is named as a supported manual-configuration example. Add the Seshat command and `SESHAT_API_KEY` to Cursor’s MCP configuration, or use the setup command to write the configuration.

Yes, private repositories require connecting your GitHub account. Public repositories are cloned from GitHub, while processed source is analyzed and cached in Papyrus Labs cloud infrastructure.

It checks JavaScript, TypeScript, and Python call sites for states including unawaited asynchronous calls, promises used as conditions, failures that escape without `try` or `.catch`, and dropped results.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSeshat MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/seshat-mcp?style=directory)](https://allmcps.com/mcp/seshat-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/seshat-mcp"><img src="https://allmcps.com/api/badge/seshat-mcp?style=directory" alt="Seshat MCP on AllMCPs" /></a>