OAHelper

io.github.SirjanSingh由 GitHub 帳號 SirjanSingh 發布v0.2.3更新於 Oct 28, 2026

Your OAHelper Pro account: OA sets, MCQ answers, solutions and interview experiences, offline

概覽

AI 產生的概覽

讀取你自己的 OAHelper Pro 帳號,把公司 OA 題組、選擇題答案、題解和面試經驗存成本地 markdown 資料庫,方便離線準備。

可以做什麼
  • 搜尋並瀏覽某公司的 OA 題組、單一題組頁面與題目,含選擇題答案與社群題解
  • 依最新優先把某公司的題組、題目、答案與面試經驗下載到本地 markdown 資料庫
  • 依 C++、Python 或 Java 取得官方題解,並取得某公司的完整面試經驗
  • 不需工作階段即可查看已離線儲存的內容,並檢查工作階段狀態與當日請求用量
  • 附帶九個 agent 技能,用於模擬 OA、選擇題練習、提示式輔導、面試簡報、讀書計畫與間隔複習
適用情境
適合已有 OAHelper Pro 帳號、正在準備公司線上筆試的求職者,希望把資料以本地 markdown 形式保存,以便離線、在 Obsidian 中或透過 agent 驅動的準備流程學習。
執行需求
本地 stdio 伺服器,透過 uvx(或 pip,Python 3.10+)在任一 MCP 用戶端中執行。需要 OAHelper 帳號,多數內容需 Pro。需要從已登入瀏覽器工作階段複製的 OAHELPER_COOKIE cookie 請求標頭;可選 OAHELPER_HOME、OAHELPER_BEARER、OAHELPER_USER_AGENT 與 OAHELPER_DAILY_CAP。需要連線到該網站的網路。
安裝前請注意
README 指出該網站服務條款禁止自動化存取與擷取,可能導致 Pro 帳號被停用;使用風險自負。OAHELPER_COOKIE 是完整的工作階段憑證,應像密碼一樣保管,不要貼進與 AI 的對話,也不要提交到版本庫。工具會以你的帳號發出即時請求並消耗方案的題解配額,預設每日上限 300 次請求。儲存的內容不應發布或分享。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OAHelper,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

oahelper-mcp

Built by Sirjan Singh

[GitHub stars] [License: MIT] [MCP] [PyPI] [MCP Registry] [skills.sh]

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 useOne command
Claude Code (server + all 9 skills)/plugin marketplace add SirjanSingh/oahelper-mcp then /plugin install oahelper@oahelper-mcp
Just the skills, any agentnpx skills add SirjanSingh/oahelper-mcp
Just the server, any MCP clientuvx oahelper-mcp (see Connect it to your agent)

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.

What you get

ToolWhat it doesNetwork
oahelper_search(company)Lists a company's OA sets with dates, counts and refs1 request (cached 1 day)
oahelper_sync(company, max_items=20)Downloads a company's sets, questions, MCQ answers and interview write-ups into the library, newest first. Stops after max_items requests and tells you how much is leftup to max_items
oahelper_company(slug_or_url)One set page by slug or .../company-questions/<slug> URL1 request
oahelper_question(ref_or_url)One question: statement, MCQ answers with explanations, optional images and community solutions1 to 4 requests
oahelper_solution(ref_or_url, language)Official solution (cpp, python, java). Uses your plan's solution quota1 request
oahelper_interviews(company)Interview experiences for a company, full text saved1 to 2 requests
oahelper_offline(company="")What is already saved. Works with no session at allnone
oahelper_status(online=False)Is a session configured, requests used today, optional Pro checknone 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 them

All 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

  1. Open https://www.oahelper.in in your browser while logged in.

  2. Press F12, open the Network tab, reload, and click any request whose URL contains /api/proxy/.

  3. Under Request Headers, copy the whole cookie value.

  4. Put it in ~/.oahelper/.env (create the folder and file) as one line:

    OAHELPER_COOKIE=<paste here>

    .env.example lists the other optional settings. You can instead set OAHELPER_COOKIE as 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-mcp

Claude Code

bash
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):

json
{  "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:

json
{  "servers": {    "oahelper": {      "type": "stdio",      "command": "uvx",      "args": ["oahelper-mcp"]    }  }}

OpenAI Codex CLI

bash
codex mcp add oahelper -- uvx oahelper-mcp

or in ~/.codex/config.toml:

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 use oahelper-mcp as the command.
  • Latest unreleased code: uvx --from git+https://github.com/SirjanSingh/oahelper-mcp oahelper-mcp.

Without uv (from a clone)

bash
git clone https://github.com/SirjanSingh/oahelper-mcp.gitcd oahelper-mcppython -m venv .venv.venv/bin/pip install -r requirements.txt     # Windows: .venv\Scripts\pip

Then 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 MjM3OHww with 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.

SkillAsk something likeWhat it does
oa-prep"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
oa-mock"give me a mock OA for Amazon"Timed mock built from real past questions in the real format, then graded with edge-case traces
mcq-drill"quiz me on DBMS MCQs from Infosys"One MCQ at a time from real answer keys, with scoring and explanations
solve-coach"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
interview-insights"what are Atlassian's interview rounds?"Round-by-round brief from interview write-ups: repeated questions, what sank people, prep checklist
oa-compare"compare the OAs of Uber, Juspay and Atlassian"Side-by-side OA patterns and the shared topics worth studying first
study-plan"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-mistakes"revise my mistakes"Spaced-repetition re-test of questions you got wrong or needed hints on
oahelper-setup"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:

bash
npx skills add SirjanSingh/oahelper-mcp

Add --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:

bash
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):

KeyDefaultMeaning
OAHELPER_HOME~/.oahelper (or the clone)Data folder for .env, cache/ and library/. Environment only
OAHELPER_COOKIEBrowser cookie header from a logged-in session
OAHELPER_BEARERauthorization header, if the site sends one
OAHELPER_USER_AGENTgenericYour browser's user agent, so requests match your session
OAHELPER_DAILY_CAP300Live requests per day before the server refuses

The 2 second gap between requests is MIN_GAP in oahelper_mcp/server.py.

Troubleshooting

SymptomFix
session rejected / HTTP 401 or 403Cookie expired. Copy a fresh one into .env (or /plugin configure oahelper@oahelper-mcp)
Daily cap reachedWait until tomorrow. Cached and offline tools still work
Client shows the server as failedCheck uv is on the PATH the client sees (uvx --version). From a clone, use absolute paths and the venv's Python. Run the command by hand: it should sit silently waiting on stdin
ModuleNotFoundError: mcpThe client is launching a different Python. Point command at the venv's interpreter
No module named 'mcp.server.fastmcp'A clone has mcp 2.x installed. Run pip install "mcp<2" (the PyPI package already pins it)
Premium content missingYour account is not Pro, or the cached copy was fetched logged out. Pass refresh=true

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:

bash
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.

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.

[M8ven Score]

來源:README.md,提交 bb285a8

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.3最新Oct 19, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分