Skip to main content
ClaudeWave
pipeworx-io avatar
pipeworx-io

mcp-softwareheritage

View on GitHub

Software Heritage MCP.

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
90/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Topics declared
  • Documented (README)
Last scanned: 9/17/2026
Install in Claude Code / Claude Desktop
Method: NPX · @pipeworx/mcp-softwareheritage
Claude Code CLI
claude mcp add mcp-softwareheritage -- npx -y @pipeworx/mcp-softwareheritage
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-softwareheritage": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-softwareheritage"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# @pipeworx/softwareheritage

The Software Heritage archive of public source code: which repositories have
been captured, when each was last captured successfully, and the commits inside
them — addressed by content, so they keep resolving after a repository is
renamed, moved or deleted.

Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1576+ live data sources.

## Tools

- `origin_search(query, limit?, with_visit?)` — find archived origins whose URL
  matches a substring. Answers "is this project in the archive, and under which
  URL", which you need before anything else because the archive keys everything
  on the origin URL.
- `origin_status(url)` — the most recent capture of one repository that actually
  produced a snapshot: date, snapshot id, visit type. Answers "is this code
  safe, and as of when".
- `origin_visits(url, limit?)` — the capture history for one repository, newest
  first, with each visit's outcome. Answers "how continuously has this been
  archived", and separates never-archived from archived-for-years-and-unreachable-today.
- `revision(id)` — one archived commit by its 40-hex id or SWHID: message,
  author, committer, dates, tree id, parents. Answers "what was in this commit"
  for a repository that may no longer exist anywhere else.

## Auth

Keyless. Anonymous callers get a lower rate-limit bucket than token holders, and
the limit is per-IP, so a Worker sharing an egress address with other traffic
can be throttled by calls that were not ours. The archive asks callers to
identify themselves; this pack sends its own User-Agent.

## Data sources

- <https://archive.softwareheritage.org/api/1/origin/search/{query}/> — origin
  search. Returns a bare JSON array, not an object.
- <https://archive.softwareheritage.org/api/1/origin/{url}/visit/latest/> —
  latest visit for one origin.
- <https://archive.softwareheritage.org/api/1/origin/{url}/visits/> — visit
  history, paginated with `per_page`.
- <https://archive.softwareheritage.org/api/1/revision/{sha}/> — one commit.

Things worth knowing before you touch this:

- **`visit/latest` without `require_snapshot=true` is a trap.** It returns the
  latest visit *whatever its outcome*, so a repository archived continuously
  since 2015 answers `status: "not_found"` because today's crawl happened to
  fail — the exact opposite of the question "is this archived". Reproduced on
  `https://github.com/torvalds/linux` on 2026-09-03: visit 479 was `not_found`
  while visit 478, the day before, was `full`. `origin_status` always sets the
  flag; if you add an endpoint here, set it too.
- **The origin URL is the key, and it is matched exactly.** A trailing slash, a
  `.git` suffix or `http` vs `https` makes it a different origin with its own
  visit history. Resolve with `origin_search` rather than constructing the URL.
- **The origin URL is embedded in the path, unescaped.** `/origin/https://…/get/`
  is the documented shape — do not URL-encode it, the API will not find it.
- **Origin endpoints return a bare JSON array**, revision endpoints return an
  object. Anything reading these has to handle both.
- **A 404 means "not archived", not "bad request".** This pack turns it into an
  explicit `archived: false` / `error: "revision not archived"` so an absence
  cannot arrive looking like an empty success.

## Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

```json
{
  "mcpServers": {
    "softwareheritage": {
      "url": "https://gateway.pipeworx.io/softwareheritage/mcp"
    }
  }
}
```

### What this endpoint actually serves

`tools/list` at `https://gateway.pipeworx.io/softwareheritage/mcp` returns the tools in the table
above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
`discover_tools`, `search_within`, `remember`/`recall` and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's `initialize` response states its exact scope, and
is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
`ask_pipeworx`, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:

```json
{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}
```

Both URLs reach the same gateway and the same 1576+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one.

## Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no
gateway round-trip:

```json
{
  "mcpServers": {
    "softwareheritage": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-softwareheritage"]
    }
  }
}
```

Or run it directly to confirm it starts:

```bash
npx -y @pipeworx/mcp-softwareheritage
```

It speaks MCP over stdin/stdout and answers `initialize`/`tools/list`/`tools/call`
for **only** this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.

## Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:

```
ask_pipeworx({ question: "your question about Softwareheritage data" })
```

The gateway picks the right tool and fills the arguments automatically.

## More

- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)

## License

MIT
mcpmcp-servermodel-context-protocolpipeworxsoftwareheritage

What people ask about mcp-softwareheritage

What is pipeworx-io/mcp-softwareheritage?

+

pipeworx-io/mcp-softwareheritage is mcp servers for the Claude AI ecosystem. Software Heritage MCP. It has 0 GitHub stars and its last recorded update is dated 2026-09-16.

How do I install mcp-softwareheritage?

+

You can install mcp-softwareheritage by cloning the repository (https://github.com/pipeworx-io/mcp-softwareheritage) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is pipeworx-io/mcp-softwareheritage safe to use?

+

Our security agent has analyzed pipeworx-io/mcp-softwareheritage and assigned a Trust Score of 90/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains pipeworx-io/mcp-softwareheritage?

+

pipeworx-io/mcp-softwareheritage is maintained by pipeworx-io. The last recorded GitHub activity is dated 2026-09-16, with 0 open issues.

Are there alternatives to mcp-softwareheritage?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-softwareheritage to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: pipeworx-io/mcp-softwareheritage
[![Featured on ClaudeWave](https://claudewave.com/api/badge/pipeworx-io-mcp-softwareheritage)](https://claudewave.com/repo/pipeworx-io-mcp-softwareheritage)
<a href="https://claudewave.com/repo/pipeworx-io-mcp-softwareheritage"><img src="https://claudewave.com/api/badge/pipeworx-io-mcp-softwareheritage" alt="Featured on ClaudeWave: pipeworx-io/mcp-softwareheritage" width="320" height="64" /></a>

More MCP Servers

mcp-softwareheritage alternatives