Interviewer Mcp

io.github.girik-chadha由 GitHub 账号 girik-chadha 发布v0.4.0更新于 Oct 27, 2026

Full technical interview prep: company briefing, concepts, code deep-dive, mock interviews.

概览

AI 生成的概览

本地 MCP 服务器,把 GitHub 仓库索引成可讲解的代码地图,并围绕你自己的项目进行可持久化的技术面试准备。

可以做什么
  • 抓取并索引 GitHub 仓库,生成按教学顺序排列的代码地图,超大仓库会给出警告
  • 按教学顺序列出章节及覆盖状态与薄弱分数,并读取单个章节的代码与文件上下文
  • 标记章节已掌握,并记录评分后的回答,形成跨会话的掌握度追踪
  • 列出值得追问的代码点,按最薄弱优先,用于基于你真实代码的模拟面试
  • 保存职位描述、公司与简历,用于公司简报、概念集训与差距提问
  • 汇报进度、历史与主要薄弱点,让后续会话从最弱处继续
适用场景
适合即将到来的面试会涉及你自己的项目或作品集、希望把代码讲清楚的情况,尤其是快速交付(黑客松、AI 辅助)后需要真正掌握每一行代码的人。它面向代码深挖与模拟面试,不用于算法刷题或通用行为面试准备。
运行要求
通过 npx(Node.js)以 stdio 在本地运行,适用于 Claude Code 或 Claude Desktop。GITHUB_TOKEN 环境变量对公开仓库可选,私有仓库必需,并可提高 GitHub 速率上限。需要访问 GitHub API 的网络;数据保存在 ~/.interviewer-mcp/(可用 INTERVIEWER_DATA_DIR 覆盖)。
安装前请注意
GITHUB_TOKEN 密钥通过环境变量传入;文档称只读 Contents 权限即可,建议尽量缩小权限范围。仓库内容与面试记录会缓存在本地 ~/.interviewer-mcp/,据 README 仅通过 GitHub API 调用离开本机。服务器会写入本地状态并给回答打分,应把保存的进度视为私密数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Interviewer Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Interviewer MCP

A technical interviewer that has actually read your repos — teaches you your own code, drills you on it, and remembers every answer you flubbed.

[CI] [npm] [License: MIT] [Node >=20]

Install · Demo · Tools · Architecture · llms.txt

AI agents / LLMs: read /llms.txt for a machine-readable index of this project.


Interviewers ask about your projects: why this library, what happens when this request fails, walk me through the auth flow. LeetCode can't prep you for that, and a plain chat session forgets everything between sessions. Interviewer MCP indexes your GitHub repo into a teachable code map, walks you through it Socratically, mock-interviews you in character — and keeps a persistent, per-section record of what you couldn't explain, so the next session re-attacks exactly those spots. It teaches and tests, and the test gets smarter every time. Not a stateless quiz.

"Walk me through this function." Every candidate has frozen on that question about code they wrote months ago — or that AI wrote for them. This makes sure it never happens in the real interview.

What a session looks like

text
You     Test me again on soundofspace — last week went badly.
Claude  [get_progress] Welcome back. Coverage: 9/14 sections. Three questions        logged weak, the worst: "why is the JWT verified server-side?"        Let's start exactly there. [get_code_section auth.ts:verifyToken]
        Here's your own code. Line 12 verifies the signature before touching        the payload. Why can't the client just send the decoded claims?
You     Because... the client could edit them?
Claude  Right instinct — be precise. What stops an attacker who edits the        payload AND re-signs it? Where does the signing secret live?
        [log_interview_result: okay — "knows tampering risk, fuzzy on         why the secret never leaves the server"]

Get started (60 seconds)

Two ways to run it — pick per surface:

Option A — MCP server (Claude Code / Claude Desktop) — full experience

bash
claude mcp add interviewer -- npx -y interviewer-mcp
# optional: private repos + 5,000 req/hr instead of 60claude mcp add interviewer --env GITHUB_TOKEN=github_pat_... -- npx -y interviewer-mcp

Claude Desktop — add to the config file instead:

json
{  "mcpServers": {    "interviewer": {      "command": "npx",      "args": ["-y", "interviewer-mcp"],      "env": { "GITHUB_TOKEN": "github_pat_optional_but_recommended" }    }  }}

Both classic and fine-grained tokens work (read-only Contents permission is enough). Then:

Prep me for my interview — my repo is github.com/you/your-project

Agent-driven install: point Claude at SETUP_GUIDE.md and it configures everything itself.

Option B — Claude Skill (claude.ai, no install)

  1. Grab SKILL.md, put it in a folder named interview-prepper/, zip the folder
  2. claude.ai → Settings → Capabilities → Skills → Upload skill
  3. Say: "prep me for my interview on github.com/you/your-project"

The honest difference: the MCP server keeps a durable local database of your coverage and weak spots — return in three weeks and it remembers. The Skill runs entirely inside claude.ai: it clones your repo per session and recalls prior sessions via conversation search, which is best-effort, not guaranteed. Same curriculum and teaching format either way; the MCP path is the one that makes "it remembered" a hard promise.

Features

  • Per-repo ingestion — fetches any GitHub repo via the REST API (no clone needed), filters to real source files, splits them into teachable sections, and orders them: entry points → most-imported core logic → utilities. Warns instead of silently truncating on huge repos.
  • Teaching mode — one section per exchange, code always shown first, block-by-block what and why, ending with "an interviewer would ask…" — and a section only counts as covered after you explain it back.
  • Mock interview mode — Claude stays in character, grounding every question in your actual lines: "Why Supabase over Firebase?" "This fetch has no timeout — what happens at 2am?" Probe targets are auto-detected: external API calls, auth/secrets handling, raw SQL, concurrency, leftover TODOs, long uncommented functions.
  • Job-description targeting — store the JD, company, and your CV once; teaching then flags "this section is your evidence for the REST-APIs requirement," and interviews probe the JD skills your repo doesn't demonstrate.
  • Mastery tracking — every answer is scored strong/okay/weak with a concrete note. Scores raise per-section weakness; strong answers decay it. All of it persists in ~/.interviewer-mcp/ and every returning session opens from your weakest point.

The curriculum — you steer

Five phases, picked in your order from a menu: ① company briefing → ② concept bootcamp (JD ∪ CV ∪ repo stack) → ③ code deep-dive → ④ mock interview → ⑤ debrief.

ingest_repo ──▶ briefing ──▶ bootcamp ──▶ code deep-dive ──▶ mock interview ──▶ debrief                    ▲                                │                    └──── "test me again" (days later)                          the interviewer REMEMBERS ◀┘

Tools (8)

ToolWhat it does
ingest_repoFetch + index a GitHub repo into a teachable code map
list_sectionsSections in teaching order, with covered status + weakness scores
get_code_sectionOne section's code with file context
mark_coveredMark a section learned (only after you explain it back)
get_interview_targetsProbe-worthy code, weakest spots first
log_interview_resultScore an answer; powers cross-session memory
set_job_descriptionStore JD + company + CV; powers briefing, bootcamp, and gap questions
get_progressCoverage, history, top weaknesses — the "welcome back" tool

When to use · When to skip

Great fit if you…

  • have an interview where your projects/portfolio will come up
  • shipped fast (hackathons, AI-assisted) and need to own every line
  • want targeted revision of your weak spots instead of re-reading the whole repo

Skip it if you…

  • need algorithm/DSA drilling — that's LeetCode's muscle, not this
  • want generic behavioral prep with no codebase involved

How it works

Local-first and dependency-light by design: plain TypeScript, native fetch, and a JSON store — no native modules, so npx interviewer-mcp boots on every OS with zero build tooling. Your code cache and interview history live in ~/.interviewer-mcp/ (override with INTERVIEWER_DATA_DIR) and never leave your machine; the only network calls are to GitHub. Sectioning is regex-based per language family (JS/TS, Python, Go, Java/C#/Kotlin) with chunking fallback — tree-sitter AST parsing is on the roadmap.

Full pipeline, store layout, and design-decision rationale: ARCHITECTURE.md.

Roadmap

  • tree-sitter AST parsing for exact section boundaries
  • multi-repo interviews ("you use pgvector in two projects — compare the schemas")
  • spaced-repetition scheduling of weak sections

Contributing & security

PRs welcome — the core is small, pure, and tested (npm install && npm test). See CONTRIBUTING.md. Vulnerabilities: SECURITY.md.

License

MIT © Girik Chadha

来源:README.md,提交 957f29a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.4.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分