Skip to content
MCP server

Thealgorithms MCP

Search TheAlgorithms across 24 languages; fetch implementations with examples.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.1
Listing updated
5 days ago

About Thealgorithms MCP

Thealgorithms MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add thealgorithms-mcp -- uvx thealgorithms-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "thealgorithms-mcp": {
      "command": "uvx",
      "args": [
        "thealgorithms-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "thealgorithms-mcp": {
      "command": "uvx",
      "args": [
        "thealgorithms-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "thealgorithms-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "thealgorithms-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "thealgorithms-mcp": {
      "command": "uvx",
      "args": [
        "thealgorithms-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "thealgorithms-mcp": {
      "command": "uvx",
      "args": [
        "thealgorithms-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Thealgorithms MCP FAQ

Is Thealgorithms MCP free?

Yes. Thealgorithms MCP is open source, so you can use and self-host it for free.

How do I add Thealgorithms MCP to Claude Code?

Run this command in your terminal: claude mcp add thealgorithms-mcp -- uvx thealgorithms-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers