
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
概览
读取你自己的 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。需要访问该站点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 OAHelper,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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
The library layout:
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
-
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:.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:
Claude Code
-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):
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:
OpenAI Codex CLI
or in ~/.codex/config.toml:
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)
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
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.
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:
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:
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):
The 2 second gap between requests is MIN_GAP in oahelper_mcp/server.py.
Troubleshooting
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:
.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.
来源:README.md,提交 bb285a8
工具
0版本历史
1- v0.2.3最新Oct 19, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分