Slab API vs HackMD API, CLI and MCP
Fact by fact
15 different8 stated by only one1 the same on both
The basics
What it isSlab API: GraphQL API and webhooks for a team's Slab knowledge base: posts, topics, users and organisation dataHackMD API, CLI and MCP: REST API, CLI and remote MCP server onto HackMD notes and team workspaces: create, read, update, search and list Markdown notes
AccessSlab API: HTTP, Hosted UI, WebhooksHackMD API, CLI and MCP: HTTP, CLI, MCP
Still on saleSlab API: YesHackMD API, CLI and MCP: Yes
What they work on
BothWorkspace page
Buying and paying
Agent gets a key aloneSlab API: Noan admin copies the token from Team settings > DeveloperHackMD API, CLI and MCP: Nokey or OAuth grant is made by a signed-in person
First call without a keySlab API: Nocalls need a key or a signed-in sessionHackMD API, CLI and MCP: Noevery call needs a key or OAuth token
Agent can paySlab API: Nopaid plans are bought by a person at checkout or through sales; no agent payment route seenHackMD API, CLI and MCP: Noplan bought by card in the web app by a person; no agent payment protocol
Payment railsSlab API: Not statedHackMD API, CLI and MCP: cardcard checkout for self-serve plans
Payment protocolsSlab API: noneno agent payment protocol named on the pages readHackMD API, CLI and MCP: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredSlab API: YesAPI only on Business or Enterprise planHackMD API, CLI and MCP: NoFree plan
Price published as dataSlab API: NoHTML onlyHackMD API, CLI and MCP: Noprices only in the HTML page
Test purchasesSlab API: Nonot stated on the pages readHackMD API, CLI and MCP: Not stated
Receipt or usage recordSlab API: Nonot stated on the pages readHackMD API, CLI and MCP: Not stated
Reading and signing up
Public pricesSlab API: YesFree $0, Startup $6.67, Business $12.50 per user/month billed annually, Enterprise customHackMD API, CLI and MCP: Yesplan prices on the public pricing page
Self-serve sign-upSlab API: YesGet StartedHackMD API, CLI and MCP: Yesaccount by web sign-up; key or OAuth grant from account settings
Free useSlab API: Yesfree for up to 10 users, but API is Business or Enterprise onlyHackMD API, CLI and MCP: YesFree $0, up to 3 teammates, with an API call allowance
OpenAPISlab API: NoGraphQL schema on Apollo Studio, not OpenAPIHackMD API, CLI and MCP: Yeshttps://api.hackmd.io/v1/docs/swagger.json
OpenAPI versionSlab API: Not statedHackMD API, CLI and MCP: 3.0
Docs without loginSlab API: Part of the API reference is readable without an accounthelp article public; schema on studio.apollographql.comHackMD API, CLI and MCP: Yesdeveloper portal public
llms.txtSlab API: Not statedHackMD API, CLI and MCP: Yeshackmd.io/llms.txt
Docs as MarkdownSlab API: NoHTML returnedHackMD API, CLI and MCP: Yespublic notes return Markdown with Accept: text/markdown
MCP
Vendor MCP serverSlab API: Not statedHackMD API, CLI and MCP: Yeshttps://mcp.hackmd.io/
MCP server hosted by the vendorSlab API: Not statedHackMD API, CLI and MCP: Yeshosted by the vendor
MCP sign-inSlab API: Not statedHackMD API, CLI and MCP: Signs in with OAuthOAuth 2.1 with PKCE; legacy API-token bridge
Jobs both do
Open a job to see every API that does it.

