origin_visits
Pack: softwareheritage · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/origin_visits for the schema, then POST the same URL with its arguments for the data.
List the archive’s visit history for one repository URL, newest first: when each capture ran, what it produced, and whether it succeeded (“full”), partially succeeded, or failed (“not_found” — the origin was unreachable at that moment). Use this to see how continuously a project has been captured, and to distinguish “never archived” from “archived for years and unreachable this week”. 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”). |
limit | number | no | Maximum visits to return, 1-100 (default 10). |
Example call
Arguments
{
"url": "https://github.com/torvalds/linux",
"limit": 3
}
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_visits","arguments":{"url":"https://github.com/torvalds/linux","limit":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('origin_visits', {
"url": "https://github.com/torvalds/linux",
"limit": 3
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the softwareheritage pack
{
"mcpServers": {
"softwareheritage": {
"url": "https://gateway.pipeworx.io/softwareheritage/mcp"
}
}
}
See Getting Started for client-specific install steps.