origin_visits
Pack: softwareheritage · Endpoint: https://gateway.pipeworx.io/softwareheritage/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"softwareheritage": {
"url": "https://gateway.pipeworx.io/softwareheritage/mcp"
}
}
}
See Getting Started for client-specific install steps.