Server data from the Official MCP Registry
Search TheAlgorithms/Python and fetch implementations with their doctest examples.
Search TheAlgorithms/Python and fetch implementations with their doctest examples.
Valid MCP server (2 strong, 3 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
12 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mcande21-thealgorithms-mcp": {
"args": [
"thealgorithms-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
mcp-name: io.github.mcande21/thealgorithms-mcp
An MCP server for querying the TheAlgorithms org across every language repo — search algorithm implementations and fetch any one with its in-file examples.
Languages are auto-discovered from the org (not a hardcoded list): a repo is indexed when it
publishes a parseable DIRECTORY.md — currently 24 languages (Python, Java, C++, JavaScript,
Rust, C, TypeScript, PHP, Dart, Kotlin, Ruby, R, Scala, Swift, Julia, Haskell, MATLAB, Zig,
Fortran, Nim, Clojure, F#, Jule, aarch64-assembly). Repos without a DIRECTORY.md (Go, C#, Lua,
Solidity, …) are reported by list_languages with their exclusion reason — no silent gaps.
Hybrid design: each repo's DIRECTORY.md index is cached locally (ETag + TTL); file contents are
fetched on demand from raw.githubusercontent.com. The org/language manifest is auto-discovered via
the GitHub API and cached 7 days. No token required (set GITHUB_TOKEN to raise the rate limit).
See DESIGN.md.
| Tool | Purpose |
|---|---|
list_languages() | Indexed languages (+ counts, aliases) and excluded repos with reasons |
list_categories(language='python') | Categories with entry counts for a language |
search_algorithms(query, language='python', category?, limit=10) | Ranked {name, category, path, score} |
get_category(category, language='python') | Every algorithm in a category |
get_algorithm(path, language='python', include_source=True) | Source + extracted examples |
compare(name, languages?, limit_per_language=1) | The same algorithm across languages |
language accepts names or aliases (cpp/c++, js, ts, …). Typical flow:
search_algorithms("dijkstra", language="rust") → get_algorithm("src/graph/dijkstra.rs", language="rust").
Examples are extracted where the language has an in-file convention (Python doctests, Rust
doc-tests); other languages return source plus a note.
From PyPI (recommended):
{ "thealgorithms": { "command": "uvx", "args": ["thealgorithms-mcp"] } }
From GitHub:
{ "thealgorithms": {
"command": "uvx",
"args": ["--from", "git+https://github.com/mcande21/thealgorithms-mcp", "thealgorithms-mcp"] } }
From a local checkout (development):
uv sync
uv run thealgorithms-mcp # serves over stdio
Add any of the above to ~/.normandy-generic/mcp.json (or your MCP client config).
uv run python scripts/verify_stdio.py # multi-language contract over stdio
uv run python scripts/verify_language.py rust # one language, end-to-end
The harness spawns the server over stdio and asserts every tool against the live org, including
binary-search fetch across ≥8 languages and cross-language compare().
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.