algorithm_implementations

Pack: algorithm-finder · 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/algorithm_implementations for the schema, then POST the same URL with its arguments for the data.

Implementations of a named algorithm: the languages Rosetta Code has solutions in and, with language set, the source code of that solution (CC BY-SA 4.0, labelled educational), plus reference implementation links from the NIST DADS entry, the cp-algorithms article, and the Skiena Algorithm Repository implementation links for the problem.

Parameters

NameTypeRequiredDescription
namestringyesAlgorithm name, e.g. “Dijkstra’s algorithm”, “Floyd-Warshall algorithm”, “Knuth-Morris-Pratt”.
languagestringnoProgramming language as Rosetta Code names it, e.g. “Python”, “C++”, “Go”, “Rust”, “Java”. Omit to list the languages available.

Example call

Arguments

{
  "name": "Dijkstra's algorithm",
  "language": "Python"
}

curl

curl -X POST https://gateway.pipeworx.io/algorithm-finder/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"algorithm_implementations","arguments":{"name":"Dijkstra'\''s algorithm","language":"Python"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('algorithm_implementations', {
  "name": "Dijkstra's algorithm",
  "language": "Python"
});

More examples

{
  "name": "Floyd-Warshall",
  "language": "Go"
}

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 algorithm-finder pack
{
  "mcpServers": {
    "algorithm-finder": {
      "url": "https://gateway.pipeworx.io/algorithm-finder/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 8, 2026