origin_search

Pack: softwareheritage · Endpoint: https://gateway.pipeworx.io/softwareheritage/mcp

Search the Software Heritage archive for archived origins (repository URLs) whose URL matches a substring or pattern. Returns each matching origin with its visit count and the date it was last captured. Use this to find the archived URL for a project before asking about its status — the archive keys everything on the ORIGIN URL, so “torvalds/linux” finds the GitHub origin and any separately archived copy of the same project on another forge. Sourced from the Software Heritage archive.

Parameters

NameTypeRequiredDescription
querystringyesSubstring of the repository URL to match (e.g. “torvalds/linux”, “pallets/flask”, “gitlab.com/inkscape”).
limitnumbernoMaximum origins to return, 1-1000 (default 10).
with_visitbooleannoWhen true, return only origins that have actually been visited and archived (default true). False also returns origins that are merely known.

Example call

Arguments

{
  "query": "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_search","arguments":{"query":"torvalds/linux","limit":3}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('origin_search', {
  "query": "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.

Regenerated from source · build September 3, 2026