oahelper-mcp
Reads your own OAHelper Pro account via MCP tools and saves fetched prep content as local markdown.
Search a company's OA question sets with dates, counts and refs (
oahelper_search).Sync a company's sets, questions, MCQ answers and interviews into
library/<company>/, newest first (oahelper_sync).Fetch one set page by slug or URL (
oahelper_company).Read a question's statement, MCQ answers/explanations, optional images and community solutions (
oahelper_question).Fetch the official solution in C++, Python or Java, using the plan's daily solution quota (
oahelper_solution).Pull interview experiences and save full write-ups (
oahelper_interviews).Browse already-saved content with no network call (
oahelper_offline).Check session/usage and optionally Pro status online (
oahelper_status).Use it from Claude Code, Claude Desktop, Cursor, Codex, VS Code and other MCP clients, plus bundled skills for mock OAs, MCQ drills, hint-based coaching, interview briefs, study plans and spaced revision.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@oahelper-mcp download Amazon's latest OA questions and solutions for offline prep"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
oahelper-mcp
Built by Sirjan Singh
An MCP server that lets Claude Code, Claude Desktop, Cursor, Codex or any other MCP client read your own OAHelper Pro account: company OA question sets, full problem statements, MCQ answer keys, official solutions and interview experiences. Everything it fetches is also saved as plain markdown on your disk, so you can prep offline, in Obsidian, or with an agent that never touches the network again.
It also ships 9 skills for mock OAs, MCQ drills, hint-based coaching, interview briefs, study plans and spaced revision.
The server is one small Python package with a single dependency (the official mcp SDK).
HTTP is the standard library.
Quick install
You use | One command |
Claude Code (server + all 9 skills) |
|
Just the skills, any agent |
|
Just the server, any MCP client |
|
The Claude Code plugin asks for your OAHelper cookie when you enable it and keeps it in
secure storage. Its skills show up as /oahelper:oa-mock, /oahelper:mcq-drill and so on.
Read this first. OAHelper's Terms of Service forbid automated access and scraping, and the penalty can be losing your Pro account. This tool is built to be used the way a person uses the site: one company at a time, only when you ask, 2 seconds between requests, a hard daily cap (300 by default), and a disk cache so nothing is fetched twice. It uses your own logged-in browser session, ships no content, and gives you nothing your plan does not already include. Whether to run it is your decision and your risk. Do not use it to crawl the site, and never publish or share what it saves.
Related MCP server: algofox
What you get
Tool | What it does | Network |
| Lists a company's OA sets with dates, counts and refs | 1 request (cached 1 day) |
| Downloads a company's sets, questions, MCQ answers and interview write-ups into the library, newest first. Stops after | up to |
| One set page by slug or | 1 request |
| One question: statement, MCQ answers with explanations, optional images and community solutions | 1 to 4 requests |
| Official solution ( | 1 request |
| Interview experiences for a company, full text saved | 1 to 2 requests |
| What is already saved. Works with no session at all | none |
| Is a session configured, requests used today, optional Pro check | none or 1 |
The library layout:
library/<company>/
index.md sets, interviews and counts, with links
sets/<ref>-<name>.md
questions/<ref>-<title>.md
interviews/<id>-<role>.md
images/ only when you ask for themAll of it lives in your data folder: ~/.oahelper by default, the repo folder when you
run from a clone, or wherever OAHELPER_HOME points. Inside a clone, library/, cache/
and .env are gitignored. Keep it that way.
Requirements
uv (recommended), or Python 3.10+ with pip
An OAHelper account (most content needs Pro)
Any MCP client that can launch a local stdio server
Add your session
Open https://www.oahelper.in in your browser while logged in.
Press F12, open the Network tab, reload, and click any request whose URL contains
/api/proxy/.Under Request Headers, copy the whole
cookievalue.Put it in
~/.oahelper/.env(create the folder and file) as one line:OAHELPER_COOKIE=<paste here>.env.examplelists the other optional settings. You can instead setOAHELPER_COOKIEas an environment variable in your client's config, and the Claude Code plugin asks for it when you enable it.
The session lasts until you log out on the site. When tools start returning
session rejected, repeat these steps. Treat the cookie like a password: do not paste it
into a chat with any AI, and do not commit it.
Then ask your agent to run oahelper_status with online=true. You should see
session valid | Pro: yes.
Connect it to your agent
With uv installed, every client runs the same command and uv fetches everything else:
uvx oahelper-mcpClaude Code
claude mcp add oahelper -s user -- uvx oahelper-mcp-s user makes it available in every project; use -s local for the current project
only. Run claude mcp list to confirm it shows as connected, or /mcp inside a session.
Or skip this and install the plugin, which also brings the skills.
Claude Desktop
Edit claude_desktop_config.json (Settings, Developer, Edit Config):
{
"mcpServers": {
"oahelper": {
"command": "uvx",
"args": ["oahelper-mcp"]
}
}
}Restart Claude Desktop.
Cursor
Same JSON as Claude Desktop, in ~/.cursor/mcp.json (all projects) or
.cursor/mcp.json (one project).
VS Code (Copilot agent mode)
.vscode/mcp.json uses a servers key:
{
"servers": {
"oahelper": {
"type": "stdio",
"command": "uvx",
"args": ["oahelper-mcp"]
}
}
}OpenAI Codex CLI
codex mcp add oahelper -- uvx oahelper-mcpor in ~/.codex/config.toml:
[mcp_servers.oahelper]
command = "uvx"
args = ["oahelper-mcp"]Gemini CLI, Windsurf, Cline and others
Any client that reads an mcpServers JSON block takes the Claude Desktop snippet
unchanged. Check your client's docs for where its config file lives.
Other ways to run it
pip:
pip install oahelper-mcp, then useoahelper-mcpas the command.Latest unreleased code:
uvx --from git+https://github.com/SirjanSingh/oahelper-mcp oahelper-mcp.
Without uv (from a clone)
git clone https://github.com/SirjanSingh/oahelper-mcp.git
cd oahelper-mcp
python -m venv .venv
.venv/bin/pip install -r requirements.txt # Windows: .venv\Scripts\pipThen use /path/to/oahelper-mcp/.venv/bin/python /path/to/oahelper-mcp/server.py as the
command in any config above. In this mode .env, library/ and cache/ live in the
clone itself.
Using it
Ask in plain language. Some prompts that work well:
"What OA sets does OAHelper have for Juspay?"
"Sync Amazon from OAHelper, then tell me the topic mix of their last three OAs."
"Show me question
MjM3OHwwwith the MCQ answers.""Get the official C++ solution for that one."
"What have people said about Atlassian's interview rounds this year?"
"What do I already have saved offline?"
A typical prep loop: oahelper_sync a company (call again while it says NOT DONE),
then let the agent read library/<company>/index.md and the files it links. Reading the
library costs no requests.
Skills
The skills/ folder holds ready-made Agent Skills:
plain SKILL.md files that tell the agent how to chain the tools into a workflow. You
just ask in plain language and the matching skill kicks in.
Skill | Ask something like | What it does |
| "prep me for Juspay's OA" | Full prep guide: syncs the company, reads every saved set, adds public sources, maps each past question to the nearest LeetCode problem |
| "give me a mock OA for Amazon" | Timed mock built from real past questions in the real format, then graded with edge-case traces |
| "quiz me on DBMS MCQs from Infosys" | One MCQ at a time from real answer keys, with scoring and explanations |
| "I'm stuck on this question, give me a hint" | Hint ladder (observation, pattern, approach, pseudocode, code) and code review, official solution only on request |
| "what are Atlassian's interview rounds?" | Round-by-round brief from interview write-ups: repeated questions, what sank people, prep checklist |
| "compare the OAs of Uber, Juspay and Atlassian" | Side-by-side OA patterns and the shared topics worth studying first |
| "my OA is on Nov 3, make me a plan" | Day-by-day plan to the deadline, weighted by the company's topics and your past mistakes |
| "revise my mistakes" | Spaced-repetition re-test of questions you got wrong or needed hints on |
| "oahelper isn't connecting" | Step-by-step diagnosis of install, client config and session problems |
oa-mock, mcq-drill and solve-coach log every attempt to library/_progress.md, which
study-plan and revise-mistakes read. It stays on your machine with the rest of
library/.
Install the skills
Easiest, for Claude Code, Codex, Cursor and other agents that support skills:
npx skills add SirjanSingh/oahelper-mcpAdd --list to see them first, or --skill oa-mock to pick one. In Claude Code, the
plugin installs them together with the server.
By hand, for Claude Code in all projects:
cp -r skills/* ~/.claude/skills/On Windows PowerShell: Copy-Item -Recurse skills\* $HOME\.claude\skills\
For one project only, copy them into that project's .claude/skills/ instead. Restart
the session and they show up as /oa-prep, /oa-mock and so on, or trigger on their own
from what you ask.
Other agents: the files are plain markdown, so any agent that supports Agent Skills can
load them from its skills folder. For one that does not, paste the relevant SKILL.md
into its rules or custom instructions.
Configuration
In .env inside the data folder, or as environment variables of the same name
(environment wins):
Key | Default | Meaning |
|
| Data folder for |
| Browser | |
|
| |
| generic | Your browser's user agent, so requests match your session |
|
| Live requests per day before the server refuses |
The 2 second gap between requests is MIN_GAP in oahelper_mcp/server.py.
Troubleshooting
Symptom | Fix |
| Cookie expired. Copy a fresh one into |
| Wait until tomorrow. Cached and offline tools still work |
Client shows the server as failed | Check |
| The client is launching a different Python. Point |
| A clone has |
Premium content missing | Your account is not Pro, or the cached copy was fetched logged out. Pass |
How it was built
The site has no public API. The endpoints were found by recording a HAR of normal
browsing on a personal account and summarising it with tools/har_endpoints.py, which
prints paths, parameter names and response shapes but never header values or response
content. If the site changes and something breaks, record a new HAR, run that script on
it, and compare.
Releasing (maintainer)
Bump the version in oahelper_mcp/__init__.py, .claude-plugin/plugin.json and both
version fields in server.json, commit, then push a tag:
git tag vX.Y.Z && git push origin vX.Y.Z.github/workflows/release.yml checks the versions match, smoke-tests the wheel,
publishes to PyPI (trusted publishing, no token) and then to the
MCP Registry (GitHub OIDC, no token).
Author
I am Sirjan Singh. I built this to prep for my own placement OAs.
GitHub: @SirjanSingh
LinkedIn: Sirjan Singh
If this saved you prep time, star the repo. It is the only way I find out it helped someone, and it helps other people preparing for OAs find it. Issues and pull requests are welcome.
License
MIT, copyright (c) 2026 Sirjan Singh, for the code in this repository. It grants nothing over OAHelper's content, which belongs to OAHelper and its contributors.
This project is not affiliated with or endorsed by OAHelper.
Available Tools
8 toolsoahelper_companyA
List one OAHelper set page by slug or URL, e.g. "kickdrum-mcq24sep" or https://www.oahelper.in/company-questions/kickdrum-mcq24sep. Returns question refs for oahelper_question. For a company by name, use oahelper_search or oahelper_sync.
Inputs: slug_or_url (required), refresh. Returns: result
oahelper_interviewsA
Interview experiences for a company from OAHelper (12 per page, most relevant first). Saves each full write-up to library//interviews/ and returns a short list; read the saved files for the full text.
Inputs: company (required), pages. Returns: result
oahelper_offlineA
What is saved offline. No network call. With no company, lists every company in the library; with a company, returns its index (sets, interviews, counts).
Inputs: company. Returns: result
oahelper_questionA
Read one OAHelper question: full statement, MCQ answers with explanations (for MCQ sets), any saved official solution, and optionally community solutions and images. Saves it to the offline library.
ref_or_url: a question ref like "MjM3OHww" or a https://www.oahelper.in/problems/... URL.
Inputs: ref_or_url (required), refresh, include_images, include_community. Returns: result
oahelper_searchA
Find a company's OA question sets on OAHelper by name (e.g. "Amazon", "Kickdrum").
Lists each set with its company_ref, date and question counts. To download a company's sets into the offline library, use oahelper_sync.
Inputs: company (required). Returns: result
oahelper_solutionA
Fetch OAHelper's official solution for one coding question (language: cpp, python, java). Each new fetch uses one of the account's limited daily solution requests, so only call this when the user asks for the official solution. Saved solutions are free.
Inputs: ref_or_url (required), language. Returns: result
oahelper_statusA
Session and usage status. online=true also checks Pro status with the site (one request); by default no network call is made.
Inputs: online. Returns: result
oahelper_syncA
Download one company's OAHelper content into the offline library, newest sets first: set lists, every question statement, MCQ answers, and interview experiences.
Makes at most max_items live requests per call, then says how much is left, so call it again to continue. Already-saved items cost nothing. Official solutions are NOT fetched here because each one uses the account's daily solution quota; use oahelper_solution. Read the result from library//index.md.
Inputs: company (required), max_items, include_images, include_interviews. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target distinct actions (search companies, sync a company, read a question, fetch a solution, list interviews, inspect offline library, check status). The only mild overlap is oahelper_search vs oahelper_company, both of which locate sets, but their descriptions explicitly disambiguate name-based vs slug/URL-based lookup. The bulk-vs-single distinction between oahelper_sync and oahelper_question/solution is also spelled out.
All tools use a uniform oahelper_ snake_case prefix, which makes the set predictable and easy to scan. The only slight deviation is mixing action verbs (search, sync, offline) with domain nouns (company, question, solution, interviews, status), but formatting itself is consistent.
Eight tools is well-scoped for an OA interview-prep domain. Each tool earns its place: discovery, retrieval, bulk sync, offline inspection, and status each cover a distinct need without redundancy.
The surface covers the full lifecycle: find companies, inspect sets, sync content offline, read questions, fetch solutions, view interviews, and check offline/session state. Minor gaps remain, such as no direct standalone question-search or explicit login/auth tool, but status and search partially cover these.
Maintenance
Related MCP Connectors
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
Search your Glasp web and Kindle highlights, notes, and AI memories from any MCP client. Read-only.
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Cross-AI personal memory. Save once in ChatGPT, recall in Claude, Mistral, Grok, or any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides tools for searching and reading Obsidian notes, creating flashcards, generating summaries, and planning study schedules via the MCP protocol.MIT
- AlicenseNot gradedqualityBmaintenanceEnables offline coding interview practice with original problems, local test harnesses, tiered hints, and streak tracking within MCP-compatible agents.3 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to browse your own university courses by downloading files, slides, announcements, deadlines, grades and lecture transcripts to your machine, then answering questions and searching across them through MCP tools. It logs in with your own account and refreshes only what changed.MIT
- AlicenseBqualityBmaintenanceEnables users to combine LeetCode and Codeforces practice history, get recommended next problems, journal recurring mistakes, and revise solved problems on a spaced-repetition schedule through MCP clients.16MIT