@guava-tech/doc-mcp
v0.1.0
Published
MCP server for Doctor of Credit — search, browse, and read bank bonus and credit card posts
Downloads
76
Maintainers
Readme
DoC MCP
MCP (Model Context Protocol) server for Doctor of Credit — the leading source for bank account bonuses, credit card offers, and personal finance deals.
Features
- Search posts by keyword across all categories
- Browse by category (Bank Accounts, Credit Cards, Brokerage, etc.)
- Read full post content including comments
- Hot posts — discover trending discussions
- WordPress REST API backend — no scraping needed, clean structured data
Quick Start
OpenClaw / ClawHub
# Install from ClawHub
npx clawhub install doc-mcp
# Or run directly
npx @guava-tech/doc-mcpOther MCP Clients (Claude Desktop, Cursor, etc.)
{
"mcpServers": {
"doc-mcp": {
"command": "npx",
"args": ["-y", "@guava-tech/doc-mcp"]
}
}
}Global Install
npm install -g @guava-tech/doc-mcpTools
| Tool | Description |
|------|-------------|
| doc_search | Search posts by keyword, optionally filter by category |
| doc_read_post | Read a post by ID or slug, with comments |
| doc_hot_posts | Get trending posts within recent days |
| doc_list_categories | List all categories with post counts |
| doc_category_posts | Browse posts in a specific category |
Development
npm install
npm run build
npm startSet DOC_MCP_DEBUG=1 for debug output.
Architecture
doc-mcp/
├── src/
│ ├── index.ts # MCP server entry — tool registration, stdio transport
│ ├── client.ts # WordPress REST API client (fetch wrapper)
│ ├── types.ts # TypeScript interfaces (WPPost, WPCategory, etc.)
│ └── tools/
│ ├── search.ts # doc_search
│ ├── read-post.ts # doc_read_post
│ ├── hot-posts.ts # doc_hot_posts
│ ├── categories.ts # doc_list_categories, doc_category_posts
│ └── utils.ts # HTML stripping, category extraction
├── skill/
│ └── SKILL.md # ClawHub / OpenClaw skill definition
└── package.jsonRelated Projects
- DoCScan — Python CLI for scanning DoC active discussions
- Nitan MCP — MCP server for US Card Forum (inspiration)
License
MIT
