Skip to main content
Glama
Johnnnmai

AI Interview Questions MCP

by Johnnnmai
README.md
# AI Interview Questions MCP

[![npm](https://img.shields.io/npm/v/ai-interview-questions-mcp)](https://www.npmjs.com/package/ai-interview-questions-mcp) [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

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.

## License

MIT © 2026 Valenx Press