Skip to main content
Glama

AlgoFox MCP — coding interview practice in your terminal

Practice coding interviews with the coding agent you already use — Claude Code, Cursor, Codex, or any MCP client.

Works fully offline. Nothing ever leaves your machine. No account, no telemetry, no network calls — problems ship in the package and your progress lives in ~/.algofox/.

How it works

  1. Say "Continue AlgoFox" (or pick a problem). The agent materializes it into ./algofox/<slug>/: the problem statement, a starter file, and a test runner.

  2. You write the solution — the agent is your interviewer/coach, not your ghostwriter. It clarifies, runs the tests when you ask, and fetches tiered hints.

  3. Tests run locally (python3 run_tests.py or node run_tests.mjs). Results are recorded; solving earns XP and keeps your streak alive.

Close your terminal any time. Come back in any supported agent, say "Continue AlgoFox", and you resume where you left off.

Related MCP server: CodeIntel MCP Server

Install

The algofox-skill plugin bundles this server plus an interview-coach skill and /algofox commands:

/plugin marketplace add phuongnd11/algofox-skill

Or add just the server:

claude mcp add algofox -- npx -y @algofox/mcp

Cursor

.cursor/mcp.json:

{ "mcpServers": { "algofox": { "command": "npx", "args": ["-y", "@algofox/mcp"] } } }

Codex

~/.codex/config.toml:

[mcp_servers.algofox]
command = "npx"
args = ["-y", "@algofox/mcp"]

For clients without skills, copy the coach block from AGENTS.md into your project's AGENTS.md / rules file so the agent behaves like an interviewer instead of solving problems for you.

Standalone CLI

Progress without opening an agent:

npx -p @algofox/mcp algofox status     # resume card
npx -p @algofox/mcp algofox progress   # full problem list
npx -p @algofox/mcp algofox history    # recent activity
npx -p @algofox/mcp algofox resume     # ready-to-paste agent prompt

What's inside

  • 10 original coding problems (arrays & hashing to start — more topics coming) with typed test cases, tiered hints, and reference solutions in Python and JavaScript.

  • Set your language any time: just tell your agent, or set_preferences.

  • Solutions are earned: reveal_solution unlocks after 2 failed runs or 2 hints. All content is local, so you can peek at the answer keys — but you'd only be cheating yourself.

  • A run token ties submitted results to an actual test run, so your agent can't hand-wave a pass.

Want a full curriculum — guided lessons, spaced review, quick-play drills, company tracks? That's the AlgoFox app.

Requirements

Node ≥ 18. Python problems need python3 on your PATH.

License

Code: MIT. Problem content (content/): CC BY-NC-ND 4.0 — see content/LICENSE.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform hybrid code search, get explanations, analyze relations and impacts, retrieve context packs, and generate documentation across ~45 languages via 17 MCP tools, all powered by a local vector database and LLM.
    2
    Apache 2.0
  • F
    license
    A
    quality
    B
    maintenance
    Enables coding agents to discover unsolved Codeforces practice problems, analyze tag performance, and inspect submissions, profiles, rating history, and upcoming contests through MCP-compatible clients.
    6
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI coding agents to maintain a private, local-first persistent memory by automatically saving, searching, and retrieving structured project memories through MCP, with hybrid keyword and embedding search, feedback-driven ranking, and no cloud dependency.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

  • The Academy curriculum as an offline MCP library. Hosted course connector adds progress.

  • StremAI MCP: shared memory for AI coding agents. Connected agents can recall. OAuth + local stdio.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/phuongnd11/algofox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server