bragbook-mcp
Reads a user's bragbook career library from a private GitHub repository in read-only mode via GitHub App sign-in or token. The tools retrieve profile facts, career timeline and gaps, projects filtered by company/skill/keyword, search results, and individual Markdown documents under data/, applying full or public visibility filtering. It always serves current repository content with a one-minute cache and never writes to the repository.
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., "@bragbook-mcp Use my bragbook to draft a résumé for this job description"
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.
bragbook-mcp
A small, read-only MCP server for a bragbook career library.
bragbook keeps your career record (jobs, projects, decisions, results) as Markdown in a private GitHub repository. bragbook-mcp lets the AI assistants you already use (Claude Code, Claude Desktop, Cursor, Codex, …) look things up in that record when you ask them to write a résumé, prepare for an interview or answer a recruiter. You don't have to paste files into chats or explain your history again.
It doesn't think. It finds, filters and formats your data; the assistant you connect does the writing.
Quick start
You need Node.js 20 or later and a bragbook library on GitHub.
npx bragbook-mcp setupSetup walks you through it:
Sign in with GitHub. You get a short code, and your browser opens at github.com/login/device to approve it. There's no token to create or copy.
Pick your library. If you haven't yet, setup opens the bragbook-mcp GitHub App install page. Choose Only select repositories and pick your library. The app can only read the repositories you pick.
Choose an access level (see below).
Add it to your AI tool (setup prints these too):
Tool
How
Claude Code
claude mcp add -s user bragbook -- npx -y bragbook-mcp(-s usermakes it available in every folder, not just the current one)Claude Desktop
Settings → Developer → Edit Config, add the JSON below, restart
Cursor
Add the JSON below to
~/.cursor/mcp.jsonCodex
Add to
~/.codex/config.toml:[mcp_servers.bragbook]withcommand = "npx"andargs = ["-y", "bragbook-mcp"]{ "mcpServers": { "bragbook": { "command": "npx", "args": ["-y", "bragbook-mcp"] } } }
The config contains no secrets: your sign-in stays in a local file only you can read.
To check it works, run claude mcp list (it should say Connected) or npx bragbook-mcp status, then ask your assistant "show my career timeline from bragbook".
Related MCP server: GitHub Repo Explainer MCP
Using it
Just ask in plain language; you don't need to know the tool names. The assistant decides when to look things up.
You want to | Try saying |
Tailor a résumé | "Here's a job description: … Use my bragbook to write a résumé for it, with the three most relevant projects." |
Prepare for interviews | "From my projects, prepare five STAR stories: a technical decision, a conflict, a failure, …" |
Introduce yourself | "Write a one-minute self-introduction, in Chinese and in English." |
Answer a recruiter | "A recruiter asks whether I've led a team and worked on high-traffic systems. Find evidence in my record and draft a reply." |
Write a profile | "Write my LinkedIn About section from my experience." |
Performance review | "Summarise my results at my current company as review points." |
Spot weak points | "Are there gaps in my timeline? How should I explain them in an interview?" |
Tips:
Mention bragbook ("use my bragbook", "check my career record") so the assistant looks things up instead of answering from memory.
Ask where a claim comes from. "Which file says that?" makes the assistant check the source with
get_document. The server already tells assistants not to invent facts the tools didn't return, but checking is cheap.It only reads. When you remember something new, record it in your library as usual (in a bragbook session: "record this: …"). The next lookup sees it, because the server always reads the current version from GitHub.
Mind the access level.
fullincludes private notes, which is fine for drafting with your own assistant. For anything you will share, ask for "public content only", or use a second entry with--level publicso private content is never read in the first place.
Tools
Tool | What it returns |
| Basic facts (name, location, contact, …) and the sections of your profile |
| Jobs, projects, education and career gaps, most recent first; optional |
| Projects with company, dates, role, tech stack and a one-line summary; filter by |
| Sections containing all the words of a query, with snippets; works for Chinese |
| One document (front matter and Markdown), e.g. |
All five are read-only. Nothing is ever written to your repository. You rarely need to call them yourself; assistants pick them as needed.
Access levels and privacy
Level | What assistants can see |
| Everything under |
| Only files with |
At every level:
Only
data/**/*.mdis readable.inbox/,memory/,mentor/,.bragbook/and the rules are never returned.Mentor comments and HTML comments are removed, and so is the
sourcesfield.A hidden file behaves exactly like a missing one, and search only sees the filtered text.
To serve both levels, add a second entry with --level public:
claude mcp add -s user bragbook-public -- npx -y bragbook-mcp --level publicWhat leaves your machine: the server itself sends nothing anywhere except requests to GitHub. Whatever the tools return goes to the AI tool you connected, and so to its provider, as part of your conversation, like anything you type there. Use public when that matters.
Why it reads GitHub instead of a local clone
bragbook-mcp reads your library from GitHub on every request (with a one-minute cache), and there is no "local folder" mode. That is deliberate:
A clone has to be kept in sync. Your library is updated from web sessions, other machines and your mentor. A clone that's a day old gives assistants a day-old record.
Clones lead to conflicts. A local copy is one more place where edits pile up and need merging.
Nothing is gained. Reading the library is all an assistant needs, and GitHub already has the current version.
Commands
npx bragbook-mcp setup Sign in with GitHub, pick your library repository and access level
npx bragbook-mcp Run the MCP server (stdio); this is what MCP clients start
npx bragbook-mcp status Show sign-in, repository and access level
npx bragbook-mcp logout Remove the saved sign-in and settings
--repo <owner/name> Use this repository instead of the saved one
--level <public|full> Use this access level instead of the saved oneTroubleshooting
Symptom | What to do |
The client shows the server as Failed or not connected | Run |
Tools answer "run | You're not signed in, or the sign-in expired. Run setup again, then restart the MCP server (or your AI tool). |
"Could not read the library from GitHub: Not Found" | The app can't see the repository: install it on that repository again via the app page, or run setup and pick the repository. |
You get an old version | Use |
The assistant doesn't use the tools | Mention bragbook in your request, and check the tools are listed ( |
Other ways to sign in
If there is no saved sign-in (for example on a locked-down machine or in CI), bragbook-mcp tries these, in order:
The
GITHUB_TOKENenvironment variable. Use a fine-grained token with read-only Contents access to your library repository only, and pass--repo owner/name.gh auth token, if the GitHub CLI is installed and signed in.
If none of these works, the server still starts, and every tool tells the assistant to run npx bragbook-mcp setup.
Where things are stored and how to revoke access
Settings and sign-in are saved in
~/.config/bragbook-mcp/config.json(or$XDG_CONFIG_HOME/…; on Windows,%APPDATA%\bragbook-mcp\config.json). The file can only be read by you (mode 600).npx bragbook-mcp logoutdeletes that file.To revoke the app itself, open GitHub → Settings → Applications, or uninstall the app from the repository.
Using your own GitHub App
To use your own app, create a GitHub App with these settings:
Repository permission Contents: read-only (Metadata read-only comes with it).
Enable Device Flow turned on.
No webhook, and no client secret or private key needed.
Then set BRAGBOOK_GITHUB_CLIENT_ID to your app's client ID for both setup and the server.
Remote use (claude.ai, ChatGPT, mobile)
Planned: a self-hosted Cloudflare Worker that serves the same five tools over HTTP, using a secret link per client. See docs/design.md.
Contributing
Development
npm ci
npm test
npm run build
node dist/cli.js --helpReleasing
Bump version in package.json, commit, then push a matching tag:
git tag v0.1.1 && git push origin v0.1.1The release workflow runs the tests and publishes to npm with trusted publishing, so no npm token is involved.
License
Available Tools
5 toolsget_documentDocumentARead-onlyIdempotent
Read one document by path (e.g. data/projects/x.md, as returned by the other tools): its front matter and Markdown, filtered for the access level.
Inputs: path (required).
get_profileProfileARead-onlyIdempotent
Get the person's profile: basic facts (name, location, contact, …) and each profile section such as positioning and what they are looking for.
Inputs: no named parameters.
get_timelineTimelineARead-onlyIdempotent
List jobs, projects, education and (at full access) career gaps of 2+ months, most recent first; optionally only those overlapping from/to (YYYY-MM).
Inputs: to, from.
list_projectsProjectsARead-onlyIdempotent
List projects with company, dates, role, tech stack, one-line summary and document path; filter by company, skill (exact tech or tag) or keyword.
Inputs: skill, company, keyword.
searchSearchARead-onlyIdempotent
Full-text search (case-insensitive, works for Chinese) across the record; returns file, section and a snippet for sections containing every word of the query.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools target distinct retrieval needs: profile, chronology, project index, full-text search, and document reading. There is mild overlap because get_timeline also lists projects and list_projects can filter by keyword, but the descriptions make the intended boundaries reasonably clear.
Four of five tools use a predictable verb_noun pattern: get_profile, get_timeline, list_projects, and get_document. The bare 'search' tool is the only deviation, lacking a noun object such as search_records, but the overall convention remains readable.
Five tools is well-scoped for a personal career-record query server. Each tool covers a meaningful access pattern: summary profile, timeline, project listing, search, and raw document retrieval.
The surface covers the main read workflows for a bragbook: profile, timeline, projects, search, and document access. It is read-only with no create/update operations, which is a gap only if the server is meant to maintain entries rather than query them.
Maintenance
Related MCP Connectors
Read-only context from your desktop activity, so your AI assistant knows what you worked on.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Read-only access to your Citlyze workspace: AI search visibility, citations, and recommendations.
Gives AI assistants read access to your Dedox help centre and knowledge base articles.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to access and analyze GitHub profile data, providing insights on repositories, commit history, coding patterns, and generating portfolio summaries for developers and recruiters.82MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access live GitHub repository data without cloning, supporting repo summarization, file explanation, recent changes, and dependency analysis.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search and retrieve job listings, and to read or manage career profile data such as work history, job summaries, career goals, and technical skills.-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to perform read-only scans of local projects, Git history, GitHub Actions workflows, machines, and GitHub accounts for supply-chain malware indicators, and to access cleanup and recovery guidance.MIT