The Mastros MCP server, on your computer

Run Mastros on your own computer and Claude Code, Codex or Claude Desktop can work on your Mastros exports: the ones in your Mastros library, and export files you hand it. It has the same tools as Mastros in ChatGPT and Claude, and like them it never searches for people, collects new data or contacts anyone.

1. Sign in

Run this once. It prints a web address and a short code: open the address, check that it shows the same code, and approve. There is no password.

Terminal
npx -y @mastros.online/mastros login

The sign-in is saved in ~/.config/mastros/credentials.json, readable only by you, and renewed on its own. The server picks it up on its next library call, with no restart. Check who you are signed in as, or sign out:

Terminal
npx -y @mastros.online/mastros whoami
npx -y @mastros.online/mastros logout

Without a sign-in, the file tools still work and the library tools tell you to run npx -y @mastros.online/mastros login.

2. Add it to Claude Code

Terminal
npx -y @mastros.online/mastros login
claude mcp add mastros -- npx -y @mastros.online/mastros

Or use the hosted server over HTTP instead of running it locally: claude mcp add --transport http mastros https://mcp.mastros.online/mcp/library

Add it to Codex

~/.codex/config.toml
[mcp_servers.mastros]
command = "npx"
args = ["-y", "@mastros.online/mastros"]

Add it to Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mastros": { "command": "npx", "args": ["-y", "@mastros.online/mastros"] }
  }
}

3. What it can do

  • List, read, query and summarize the exports in your library.
  • Cross-check 2 to 10 of your own exports for rows that may be the same person or company, each match with its evidence and a confidence.
  • Inspect and query a CSV or JSON export file, with or without a sign-in.
  • Delete an export from your library.

What stays on your computer

  • The server runs on your computer. A file you give the file tools is read there and is not sent to Mastros.
  • Library tools call the Mastros account API with your sign-in, and only for the export you asked about.
  • The server never prints your sign-in token, and whoami shows your account id and tier, not your email.
  • It logs no tool arguments, results or tokens. How the library stores your exports is in the Mastros AI privacy policy.