Skip to main content
Glama
README.md
# fathom

<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- Copyright (c) 2026 Qompass AI -->
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License: Apache 2.0"></a>
<a href="https://doi.org/10.5281/zenodo.23503520"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.23503520.svg" alt="DOI"></a>
<a href="https://crates.io/crates/fathom-mcp-server"><img src="https://img.shields.io/crates/v/fathom-mcp-server.svg" alt="crates.io"></a>
<a href="https://registry.modelcontextprotocol.io/v0/servers/ai.qompass%2Ffathom/versions"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.modelcontextprotocol.io%2Fv0%2Fservers%2Fai.qompass%252Ffathom%2Fversions&query=%24.servers%5B0%5D.server.version&label=MCP%20Registry" alt="MCP Registry"></a>

Current release: **1.0.0** (2026-10-29). Deferred items are listed in [COMPLIANCE.md](COMPLIANCE.md); release history in [CHANGELOG.md](CHANGELOG.md).

Clean-room reverse-engineering MCP, written in Rust: one
provider-neutral MCP server for reverse engineering — native
binaries, JavaScript/Electron applications, .NET assemblies, web
captures, EVM bytecode, and process behavior — where every result
is an evidence envelope that states what was observed, what was
derived, what was not examined, and what the provider cannot
establish.

The design is specified in [SPEC.md](SPEC.md): capability
inventory mapped from upstream's public contracts, per-capability
Rust strategy, evidence and error models, a deterministic
fail-closed policy engine, and the staging plan. Design source:
morluto/rea (MIT), credited in [NOTICE](NOTICE); no upstream code
is used.

## Why clean-room Rust

Upstream REA is TypeScript/Node distributed through npm. Fathom
exists to keep the capability on a Rust-first, pinned, auditable
supply chain — the estate's standing direction (SPEC §1).

## Shape

- `fathom-core` — config, error contracts, evidence model, policy,
  tool registry, confinement, bounded processes.
- `fathom-mcp-server` — MCP stdio + streamable HTTP transports.
- `fathom-a2a` — signed A2A agent card (JCS + Ed25519).
- `fathom-native` — Ghidra headless provider + binary layout (goblin).
- `fathom-js` — JavaScript/Electron static analysis (oxc) + ASAR.
- `fathom-managed` — .NET PE/CLI metadata (manual ECMA-335).
- `fathom-observe` — process capture, HAR reading, EVM selectors.
- `fathom-cli` — the `fathom` binary (`serve`, `card`, `doctor`,
  one-shot analysis).

## Build

```sh
nix build          # or: nix develop, then cargo build --workspace
cargo test --workspace
```

## License

This project is licensed under the [Apache License, Version 2.0](./LICENSE).