coinbase / cb-mpc
Coinbase MPC Library
github.com/coinbase/cb-mpcIndexed at 3a2f7c2Up to date with upstream
What is cb-mpc?
cb-mpc is a C++ cryptography and multiparty computation codebase. It provides core cryptographic primitives, MPC and protocol job orchestration, and ZK-related utilities for demo binaries and testable artifacts.
Written by a model from the README and the source
380 files and 5,535 symbols in 9 modules, led by C++ (321 files) and Shell (7).
Code health
This codebase scores 7.8 out of 10 for code health, which we rate good. It also scores maintainability 9.1 and static performance 10.0 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 4 of 380 files are git hotspots, and they average 4.7 — which is where the fixes pay off most.
On the leaderboards:#2 of 6 C++ repos
Use coinbase/cb-mpc in your agent
Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.
- 1.In Claude, open Customize → Connectors, click +, then Add custom connector. On a Team or Enterprise plan an owner adds it first under Organization settings → Connectors.
- 2.Paste the server URL below as the Remote MCP server URL, then click Add.
- 3.Click Connect. A Repowise sign-in window opens. Approve access.
- 4.Repowise's tools are now available in your Claude chats.
Connect with one click. Sign in with Repowise (OAuth), no API key to copy. Works in Claude on the web, desktop, and mobile.
Docshttps://api.repowise.dev/mcp/coinbase/cb-mpc
This repo is public, so anyone with a Repowise account and an API key can connect.
Try asking
- get_overview()
- get_answer("how is cb-mpc put together?")
- get_why("why is cb-mpc structured this way?")
Explore cb-mpc
- DocumentationModule-by-module documentation, 238 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
How coinbase/cb-mpc works
The codebase is organized into modules including src, include, include-internal, tests, tools, demo-cpp, and scripts. C++ source files in src and headers in include and include-internal implement the library components. Demo inputs such as ECDSA or Schnorr key material and protocol parameters are processed through cryptographic and MPC components. Tests contain unit and integration artifacts, while tools and demo-cpp provide entry points for runnable programs.
The codebase has 380 files and 5,535 symbols in 9 modules, led by C++, Shell and Dockerfile. Code health is 7.8 out of 10, rated good.
coinbase/cb-mpc FAQ
What is cb-mpc?
cb-mpc is a C++ cryptography and multiparty computation codebase with cryptographic primitives, MPC and protocol orchestration, and ZK-related utilities.
How does cb-mpc work?
It processes demo inputs such as ECDSA or Schnorr key material and protocol parameters through crypto primitives, MPC and protocol components, and ZK-related utilities.
What language is cb-mpc written in?
cb-mpc is primarily written in C++, with shell, Dockerfile, and Makefile files also present.
What are cb-mpc's main components?
Its main components include src, include, include-internal, tests, tools, demo-cpp, and scripts.
The summary, features and answers on this page are written by a model from the README and the source, and refreshed with each index.
About this page
Get a page like this for your own codebase
Repowise built this map of coinbase/cb-mpc from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.
Maintain coinbase/cb-mpc?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of coinbase/cb-mpc. Then add a badge to the README that links readers here.
Add a badge to your README
Every badge is public, cached, and updates on its own after every index. Nothing to install.
Repowise badge
Links to this page, with no score on it. Adding it also re-indexes the repo every week.
[](https://repowise.dev/repo/coinbase/cb-mpc?src=badge_wiki)Code health badge
The repo's health score out of 10, from the latest index.
[](https://repowise.dev/repo/coinbase/cb-mpc?src=badge_health)Code health card
A larger card with the score, its change since the last index, and when it was measured. The HTML version follows the reader's light or dark theme.
[](https://repowise.dev/repo/coinbase/cb-mpc?src=badge_card)