AI Interview Questions MCP
# AI Interview Questions MCP
[](https://www.npmjs.com/package/ai-interview-questions-mcp) [](LICENSE)
**Free:** [Check your interview answer](https://johnnnmai.github.io/ai-engineer-interview-questions/answer-check/?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp) | **Weekly drills:** [Interview Pass, $19/mo](https://valenx.org/pass?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp&utm_content=ai-interview-questions-mcp_L5)
**Free cheat sheet:** [12 must-know AI engineer interview questions](https://sirjohnnymai.gumroad.com/l/ai-engineer-interview-cheat-sheet-free?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp_cheatsheet) | **Full kit:** [AI Engineer Interview Kit ($19.99)](https://sirjohnnymai.gumroad.com/l/ai-engineer-interview-kit-2026?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp_kit)
An MCP server that brings **200 graded interview questions with model answers** into Claude, Cursor, VS Code, or any MCP client: **100 AI Engineer** questions (LLM fundamentals, prompting, RAG, agents and MCP, fine-tuning, evaluation, AI system design, production, coding) and **100 Investment Banking** questions (accounting, valuation, M&A, LBO, industry and restructuring). Practice, then run a mock interview with your assistant.
- 200 questions (ids `aie-001` to `aie-100` and `ib-001` to `ib-100`), each graded **Entry / Mid / Senior**, with a model answer
- 50 AI Engineer deep dives with an answer framework, likely follow-ups and common mistakes
- Runs offline over stdio, or over Streamable HTTP (see [Remote HTTP](#remote-http)). No API keys, no account, no telemetry
Questions come from the free [AI Engineer Interview Questions](https://johnnnmai.github.io/ai-engineer-interview-questions/?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101) bank and the Investment Banking question bank by Valenx Press. Want more IB practice? Get the free [IB Top 30 questions guide](https://sirjohnnymai.gumroad.com/l/ib-top-30-questions?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101).
## Try it
Ask your assistant:
- "Give me a 5-question Senior mock interview on RAG, one question at a time."
- "Search the interview questions for KV cache and show me the model answer."
- "Quiz me on agents, then score my answer to aie-041 from 1 to 5."
- "Run a 5-question Investment Banking mock interview on valuation."
- "Walk me through ib-001 and then ask me a follow-up."
## Tools
| Tool | What it does |
|---|---|
| `list_topics` | The 14 topics (9 AI Engineer, 5 Investment Banking) with question counts per level |
| `search_questions` | Keyword search over questions and answers. Filters: `track`, `topic`, `level`, `limit` |
| `get_question` | One question by id (`aie-026`, `ib-012`), number (`26`) or slug (`what-is-rag`): model answer, framework, follow-ups, common mistakes. `include_answer=false` hides the answer for practice |
| `random_question` | 1 to 10 random questions with answers hidden. Filters: `track`, `topic`, `level`; `seed` replays the same set |
All tools are read-only.
**Prompt:** `mock_interview` (args: `topic`, `level`, `count`, `track`) runs a full round: one question at a time, a 1 to 5 score against the model answer, a follow-up, and a study list at the end.
**Resources:** `aiq://topics` and `aiq://question/{id}` (for example `aiq://question/aie-003`).
Tracks: `ai-engineer`, `investment-banking`.
AI Engineer topics: `llm-fundamentals`, `prompting`, `rag`, `agents`, `fine-tuning`, `evaluation`, `system-design`, `production`, `coding`.
Investment Banking topics: `ib-accounting`, `ib-valuation`, `ib-ma`, `ib-lbo`, `ib-industry`.
## Install
Requires Node.js 18 or newer.
### Claude Code
```bash
claude mcp add ai-interview-questions -- npx -y ai-interview-questions-mcp
```
Or install it as a plugin, which also adds a `mock-interview` skill:
```text
/plugin marketplace add Johnnnmai/ai-interview-questions-mcp
/plugin install ai-interview-questions@valenx-press
```
### Claude Desktop
Settings > Developer > Edit Config, then add to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"ai-interview-questions": {
"command": "npx",
"args": ["-y", "ai-interview-questions-mcp"]
}
}
}
```
Restart Claude Desktop. You can also download `ai-interview-questions-mcp.mcpb` from the [latest release](https://github.com/Johnnnmai/ai-interview-questions-mcp/releases/latest) and open it to install with one click.
### Cursor
Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):
```json
{
"mcpServers": {
"ai-interview-questions": {
"command": "npx",
"args": ["-y", "ai-interview-questions-mcp"]
}
}
}
```
### VS Code
```bash
code --add-mcp '{"name":"ai-interview-questions","command":"npx","args":["-y","ai-interview-questions-mcp"]}'
```
### Windows
If `npx` is not found, use `"command": "cmd"` and `"args": ["/c", "npx", "-y", "ai-interview-questions-mcp"]`.
### From source
```bash
git clone https://github.com/Johnnnmai/ai-interview-questions-mcp
cd ai-interview-questions-mcp
npm install && npm run build && npm test
```
Then point your client at `node /path/to/ai-interview-questions-mcp/build/index.js`.
## Remote HTTP
The same tools are available over [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http) for clients that only accept remote MCP servers (for example Claude connectors and ChatGPT apps). The HTTP server is stateless and read-only, needs no auth, and stores nothing.
Hosted endpoint: coming soon. Run your own in one command:
```bash
npm run start:http # http://localhost:3000/mcp
```
Or deploy the repo to Vercel as is: `api/mcp.js` plus `vercel.json` serve the endpoint at `/mcp`.
## Free tools that pair with it
- [Answer self-check](https://johnnnmai.github.io/ai-engineer-interview-questions/answer-check/?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101): paste an answer, get a rubric score in the browser
- [Mock round timer](https://johnnnmai.github.io/ai-engineer-interview-questions/mock-interview/?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101)
- [Study plan](https://johnnnmai.github.io/ai-engineer-interview-questions/study-plan/?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101): a day-by-day plan up to your interview date
- [LLM API cost calculator](https://johnnnmai.github.io/ai-engineer-interview-questions/llm-cost-calculator/?utm_source=mcp&utm_medium=readme&utm_campaign=line27_20261101)
Every tool result ends with a short source line and these links, tagged `utm_source=mcp` so the site can see visits from this server. Nothing else is tracked. See [PRIVACY.md](PRIVACY.md).
## Development
```bash
npm install
npm run build # compile src/ to build/
npm test # stdio client calls every tool, prompt and resource, then the HTTP test
npm run start:http # Streamable HTTP server on PORT (default 3000), endpoint /mcp
npx @modelcontextprotocol/inspector node build/index.js
```
`data/questions.json` is generated from the public files of the [question bank repo](https://github.com/Johnnnmai/ai-engineer-interview-questions) with `scripts/build_data.py`. `data/ib-questions.json` holds the 100 Investment Banking questions (`scripts/import_ib.py`).
The content is educational interview practice, not a record of questions asked by any specific employer. Corrections are welcome via issues.
## Practice materials
- **Free cheat sheet:** [12 must-know AI engineer interview questions with concise model answers](https://sirjohnnymai.gumroad.com/l/ai-engineer-interview-cheat-sheet-free?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp_cheatsheet)
- **AI Engineer Interview Kit ($19.99):** [Playbook, 100 flashcards, and a scoring rubric](https://sirjohnnymai.gumroad.com/l/ai-engineer-interview-kit-2026?utm_source=github&utm_medium=readme&utm_campaign=ai-interview-questions-mcp_kit)
## License
MIT © 2026 Valenx Press
TDQS
Scored across 4 tools
Each tool targets a clearly different need: list_topics for browsing counts, search_questions for targeted keyword lookup returning IDs, get_question for fetching a full answer by ID/number/slug, and random_question for practice with hidden answers. The search-then-get chaining is explicitly documented, so an agent will not confuse search_questions with get_question. random_question shares filters with search_questions but its practice-oriented, answers-hidden behavior makes the boundary clear.
Three of four names follow a clean verb_noun snake_case pattern (list_topics, search_questions, get_question). random_question deviates slightly by using an adjective_noun form instead of a verb, but it is still readable and stylistically consistent (snake_case, noun = questions).
Four tools is on the lean side but each covers a distinct phase of the workflow (discover, search, retrieve, practice) with no filler. A tightly scoped read-only question bank does not need more surface than this. Slightly thin for anything beyond browsing, but well within a sensible range.
The read-only lifecycle is well covered: topic overview, filtered search, full answer retrieval with follow-ups and common mistakes, and randomized practice. Minor gaps exist, such as no paginated listing of all questions and no way to save progress or record practice results. These are workarounds (repeat searches with filters) rather than dead ends.