origin_status
Pack: softwareheritage · Endpoint: https://gateway.pipeworx.io/softwareheritage/mcp
Report whether one repository URL is archived, and as of when. Returns the most recent visit that produced a usable snapshot: the visit date, the snapshot id, and the visit type (git, hg, svn, npm, pypi…). This is the tool that answers “is this code safe” — a repository that vanishes tomorrow is recoverable from the snapshot named here. Pass the origin URL exactly as it appears in origin_search; the archive treats a differing URL as a different origin. Sourced from the Software Heritage archive.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | Full origin URL as archived (e.g. “https://github.com/torvalds/linux”). |
Example call
Arguments
{
"url": "https://github.com/torvalds/linux"
}
curl
curl -X POST https://gateway.pipeworx.io/softwareheritage/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"origin_status","arguments":{"url":"https://github.com/torvalds/linux"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('origin_status', {
"url": "https://github.com/torvalds/linux"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"softwareheritage": {
"url": "https://gateway.pipeworx.io/softwareheritage/mcp"
}
}
}
See Getting Started for client-specific install steps.