io.github.ashmitrrr/dsa-tracker-mcp-server

السجل الرسمي أخرى

Track DSA/LeetCode practice with spaced repetition, ships with NeetCode 150.

ماذا يمكنك أن تفعل مع io.github.ashmitrrr/dsa-tracker-mcp-server؟

  • Spaced repetition — problems you struggle with come back sooner, problems you nail come back later. Schedule is based on how you rated each attempt (gave up / struggled / solved) and your confidence (1-5).
  • List-agnostic — ships with the full NeetCode 150 (150 problems, 18 categories) but can load any custom problem list via a JSON file.
  • Fuzzy matching — log an attempt with a loosely-typed problem name ("two sum", "contains dupe") and it'll match the right problem.
  • Stats & streaks — solved counts, per-category breakdown, daily streak, total time spent.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package dsa-tracker-mcp
Claude Code
claude mcp add dsa-tracker-mcp-server -e 'DSA_TRACKER_DB=<DSA_TRACKER_DB>' -e 'DSA_TRACKER_PROBLEMS_FILE=<DSA_TRACKER_PROBLEMS_FILE>' -- uvx dsa-tracker-mcp==1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "dsa-tracker-mcp-server": {
            "command": "uvx",
            "args": [
                "dsa-tracker-mcp==1.0.1"
            ],
            "env": {
                "DSA_TRACKER_DB": "<DSA_TRACKER_DB>",
                "DSA_TRACKER_PROBLEMS_FILE": "<DSA_TRACKER_PROBLEMS_FILE>"
            }
        }
    }
}

متغيرات البيئة

  • DSA_TRACKER_DB Path to the SQLite database file (default: ~/.dsa_tracker_mcp/progress.db)
  • DSA_TRACKER_PROBLEMS_FILE Path to a JSON file with a custom problem list (default: uses built-in NeetCode 150)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. dsa-tracker-mcp
  2. Features
  3. Tools
  4. Resources
  5. Prompts
  6. Installation
  7. Environment variables (optional)
  8. Spaced repetition logic
  9. Example prompts
  10. License

dsa-tracker-mcp

mcp-name: io.github.ashmitrrr/dsa-tracker-mcp-server

This is an MCP server for tracking your progress through your DSA questions and comes loaded with a default list of NeetCode 150 (any custom DSA problem list can be switched per user) with built-in spaced repetition. Built with FastMCP and SQLite.

Talk to it naturally from Claude: "what should I work on next", "log that I solved Two Sum, confidence 4, took 12 minutes", "how's my progress", "show me my history on Contains Duplicate".

Features

  • Spaced repetition — problems you struggle with come back sooner, problems you nail come back later. Schedule is based on how you rated each attempt (gave up / struggled / solved) and your confidence (1-5).
  • List-agnostic — ships with the full NeetCode 150 (150 problems, 18 categories) but can load any custom problem list via a JSON file.
  • Fuzzy matching — log an attempt with a loosely-typed problem name ("two sum", "contains dupe") and it'll match the right problem.
  • Stats & streaks — solved counts, per-category breakdown, daily streak, total time spent.

Tools

ToolDescription
log_attemptLog an attempt at a problem (status, confidence 1-5, time spent). Schedules the next review.
get_next_problemGet what to work on next: an overdue review, or the next new problem in order. Optional category filter.
get_statsOverall progress summary — solved counts, per-category breakdown, streak, total time.
search_problemsSearch/filter problems by name, category, difficulty, or status.
get_problem_historyAll logged attempts for a given problem, chronological.

Resources

  • dsa://progress — current progress snapshot
  • dsa://problem-list — full list of tracked problems

Prompts

  • daily_review — generates a daily review session based on what's due
  • explain_pattern(category) — explains the core pattern/approach for a given category

Installation

dsa-tracker-mcp is published on PyPI, no manual cloning or virtual environments needed. The recommended way to run it is with uv, which downloads and runs the package on demand.

Claude Desktop

Add to your claude_desktop_config.json (Settings → Developer → Edit Config):

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

Restart Claude Desktop completely after saving.

Alternative: pip install

If you'd rather install it directly:

pip install dsa-tracker-mcp

Then point your config at the installed console script:

{
  "mcpServers": {
    "dsa-tracker": {
      "command": "dsa-tracker-mcp"
    }
  }
}
From source
git clone https://github.com/ashmitrrr/dsa-tracker-mcp-server.git
cd dsa-tracker-mcp-server
python3 -m venv .venv
source .venv/bin/activate   # on Windows: .venv\Scripts\activate
pip install -e .

Environment variables (optional)

VariableDefaultDescription
DSA_TRACKER_DB~/.dsa_tracker_mcp/progress.dbPath to the SQLite database
DSA_TRACKER_PROBLEMS_FILE(none, uses built-in NeetCode 150)Path to a JSON file with a custom problem list

To set these with uvx, add an env block to your config:

{
  "mcpServers": {
    "dsa-tracker": {
      "command": "uvx",
      "args": ["dsa-tracker-mcp"],
      "env": {
        "DSA_TRACKER_PROBLEMS_FILE": "/absolute/path/to/my-problems.json"
      }
    }
  }
}
Custom problem list format
[
  {
    "name": "Two Sum",
    "category": "Arrays & Hashing",
    "difficulty": "Easy",
    "url": "https://leetcode.com/problems/two-sum/"
  }
]

url and difficulty are optional and will be auto-filled where possible. order_index is assigned automatically based on list order.

Spaced repetition logic

OutcomeNext review
Gave up1 day
Struggled, confidence ≤ 22 days
Struggled, confidence ≥ 34 days
Solved, confidence ≤ 37 days
Solved, confidence ≥ 421 days

get_next_problem prioritizes overdue reviews before suggesting new problems.

Example prompts

  • "What should I work on next?"
  • "I just solved Valid Anagram, confidence 5, took 6 minutes, log it"
  • "How's my progress on Trees?"
  • "Show me my history on Two Sum"
  • "Give me a daily review"

License

MIT — see LICENSE.

الأسئلة الشائعة

ما هو io.github.ashmitrrr/dsa-tracker-mcp-server؟

Track DSA/LeetCode practice with spaced repetition, ships with NeetCode 150.

كيف أثبّت io.github.ashmitrrr/dsa-tracker-mcp-server؟

يعمل على جهازك. في Claude Code: claude mcp add dsa-tracker-mcp-server -e 'DSA_TRACKER_DB=<DSA_TRACKER_DB>' -e 'DSA_TRACKER_PROBLEMS_FILE=<DSA_TRACKER_PROBLEMS_FILE>' -- uvx dsa-tracker-mcp==1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.ashmitrrr/dsa-tracker-mcp-server إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.ashmitrrr/dsa-tracker-mcp-server مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.ashmitrrr/dsa-tracker-mcp-server؟

ينشره ashmitrrr. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.