Integrations

No need to open a browser. Operate PlainHub from your terminal or AI IDE. PlainHub fits naturally into your developer workflow.

CLI — One command from your terminal

During code review, thinking "I want to check this doc in the browser"? One command from your terminal opens PlainHub.

npm install -g plainhub plainhub auth --from-gh plainhub open README.md -r owner/repo

You can also specify theme and font size, making it useful as a shareable team URL.

plainhub open docs/API.md -r owner/repo --preview on --theme light --fontSize 18

CLI Options

OptionValueDescription
-r, --repoowner/nameRepository
-l, --linenumberJump to line
--themedark/lightTheme
--previewon/offMarkdown preview
--sidebaron/offSidebar visibility
--fontSize8-72Font size
--lineNumberson/offLine numbers
--whitespaceon/offInvisible characters

MCP Server — Natural language from your AI IDE

Just talk to Claude Code or Cursor, and PlainHub launches. No commands to memorize.

"Open the README of owner/repo in PlainHub" "I want to check this repo in the browser" "Show me the latest commit diff" "Check authentication status"

Works alongside gh CLI

Already using gh CLI? PlainHub is ready to go. Shared authentication means almost no extra setup.

plainhub auth --from-gh

If gh CLI is "the tool for operating GitHub," PlainHub is "the tool for editing GitHub files." Different strengths, natural to use together.

gh CLI strengths: Issue creation, PR operations, repo management, CI checks PlainHub strengths: Document editing, file creation/saving, Markdown preview, AI consultation

For example: check an Issue with gh CLI → fix the related doc in PlainHub → save (Git commit). Seamlessly move between terminal and browser.

Claude Code Integration

Claude Code + PlainHub covers both code and documentation. See MCP Server / CLI sections above for details.

Workflow examples

Claude Code is where you write code. PlainHub is where you write documents. MCP/CLI connects them seamlessly.

Flexible combinations

PlainHub's CLI, MCP, browser, and AI panel all connect to the same GitHub data. Access the same files from any channel — combine them however you like.

Auto-launch PlainHub from a shell script Embed PlainHub URLs in CI/CD steps for review workflows Post shared links from a Slack bot via plainhub open Include PlainHub URLs in GitHub Actions notifications Analyze in Claude Code → write reports in PlainHub → commit to the same repo

No restrictions on how you use it. If you have GitHub and a browser, it fits into any workflow.