# Page Rank Cafe MCP [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/PageRankCafe/mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 210  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pagerankcafe-mcp-server

## Description
PageRankCafe MCP server: create and post ads, read performance, query platform insights.

## Tools
Capabilities this server exposes over MCP:

- **health** — Checks API connectivity and returns the authenticated user's username and membership status. Does not require a paid membership; available to free accounts too.
- **list_links** — Returns all active, non-reported link ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
- **list_banners** — Returns all active banner ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
- **list_youtube_ads** — Returns all active, non-reported YouTube video ads owned by the authenticated user. Does not require a paid membership; available to free accounts too.
- **list_press_releases** — Returns all active, non-reported press releases / blog articles owned by the authenticated user. Does not require a paid membership; available to free accounts too.
- **get_credits** — Returns available credits, available post slots, links viewed, and links remaining for the authenticated user. Does not require a paid membership; available to free accounts too.
- **get_referral_stats** — Returns referral counts for today, last 7 days, last 30 days, and all time for the authenticated user. Does not require a paid membership; available to free accounts too.
- **upload_image** — Uploads an image (max 2MB; JPG, PNG, GIF, WEBP) and returns a hosted HTTPS URL for use as a banner image or inline article image. Provide either a local file path or base64 content plus a filename. When type is "banner" the image must match a supported banner dimension (728x90, 300x250, 120x600, 160x600, 468x60, 336x280, 250x250, 851x315, 650x400, 800x82, 234x60, 125x125, 300x200, 120x240, 240x400, 150x60). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **create_banner** — Creates a new banner ad. The image URL must be HTTPS and match a supported dimension; the ad location is detected automatically from the image size. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **post_banner** — Posts an existing banner into rotation using credits (paid members: 1-2 days, 10 credits/day). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **create_youtube_ad** — Creates a new YouTube video ad; the video ID is derived automatically from the link. Creating with status 1 (default) emails your followers once, ever, per video - pass status 0 to create it silently as Disabled. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **update_youtube_ad** — Partially updates an existing YouTube ad you own; only supplied fields change. Setting status to 1 (Active) emails followers, once ever, per ad. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **create_press_release** — Creates a new press release / blog article. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **update_press_release** — Partially updates an existing press release you own; only supplied fields change. Setting status to 1 (Active) emails followers, once ever, per article. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **post_press_release** — Posts an existing press release to the home-page widget using credits (paid members: 7 days, 70 credits). Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **create_link** — Creates a new link ad. Mirrors the web "add link" flow. Returns the new link's id. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **post_link** — Posts an existing link ad into rotation using credits, mirroring the web free-post flow. Sponsored (paid via PayPal/Stripe) posts are not exposed here and stay on the website, so ad_days must be 0. view_time and view_credits are derived server-side from icon/bold/double_time (the same schedule the web free-post form uses) and are not accepted as input, since view_credits is the credit reward funded by other members' views. If the posting user needs approval, the post is created pending and the response reports status "pending" with a message explaining it awaits approval before going live; otherwise it returns status "active". Returns the post id, the derived view_time/view_credits, and remaining credits. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.
- **list_posts** — Returns one row per ad placement (post) with the performance fields that exist for that ad type: banners (impressions, clicks, ctr, start_date, end_date, days), links (views, view_credits, ad_days, icon, bold, view_time, date_posted), youtube (impressions, start_date, end_date, days), press releases (views, start_date, end_date, days). Does not require a paid membership; available to free accounts too.
- **get_platform_insights** — Returns trailing-30-day platform performance aggregates: banners by location (active placements, impressions/placement/day, average CTR), links by option bucket (icon/bold/view_time/view_credits: active placements, average views/placement/day), YouTube ads (active placements, average impressions/placement/day), press releases (active placements, average views/article/day), platform daily total views, and current credit/cash prices and tier discounts. Aggregates only, no per-member data. Cached for one hour. Requires a paid membership (Bronze/Silver/Gold); returns an error for free accounts.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "page-rank-cafe-mcp": {
    "command": "npx",
    "args": ["-y","pagerankcafe-mcp"],
    "env": {
      "PAGERANKCAFE_API_KEY": "",
      "PAGERANKCAFE_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `PAGERANKCAFE_API_KEY`, `PAGERANKCAFE_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What PageRankCafe/mcp-server does

PageRankCafe/mcp-server MCP server exposes PageRankCafe advertising and account operations as MCP tools. An agent can inspect active link, banner, YouTube, and press-release ads; review account credits and referral counts; and retrieve placement-level results for those ad types.

The server also supports advertising workflows for paid members. It can upload an image and return a hosted HTTPS URL, create ads, revise owned YouTube ads or press releases, and post existing ads using credits. Link posting has specific constraints: credit or free posts require `ad_days` to be zero, while viewing options are calculated from other settings by the API.

## How it works

The MCP process communicates with PageRankCafe through its API and returns the API's JSON result for successful calls. A non-2xx response becomes an MCP tool error containing the API error message. Calls are not retried, and the server does not replace failed responses with fallback data.

Read tools work with any valid PageRankCafe API key, including free accounts. Write tools and `get_platform_insights` require a Bronze, Silver, or Gold membership. Platform insights report trailing-30-day aggregates by ad type and option, together with current prices. A link post may return an immediate active status or a pending status with an explanation when approval is needed.

## Setup and configuration

PageRankCafe/mcp-server MCP server requires an API key created from the PageRankCafe website. Account registration and key generation are manual website steps; the server does not provide programmatic signup. Set the key in `PAGERANKCAFE_API_KEY` before starting the process. If it is missing, the server exits with an error.

`PAGERANKCAFE_BASE_URL` is optional and defaults to `https://pagerankcafe.com`. It is intended for testing against a different API environment rather than normal production use.

Claude Desktop and Cursor configurations define a stdio MCP server, pass the package as the command arguments, and provide the API key through the environment. Claude Code can add the same server with its `claude mcp add` command and an environment assignment.

## Tools and capabilities

The available tools cover these areas:

- Check API connectivity, authenticated username, and membership status with `health`.
- List active ads with `list_links`, `list_banners`, `list_youtube_ads`, and `list_press_releases`.
- Inspect credits, posting capacity, viewed links, remaining links, and referral totals.
- Retrieve per-placement results with `list_posts`.
- Create and post link, banner, YouTube, and press-release ads where membership permits.
- Update owned YouTube ads and press releases.
- Upload local-file or base64 images and receive hosted HTTPS URLs.
- Query recent platform aggregates and prices with `get_platform_insights`.

Full request and response details are available in PageRankCafe's OpenAPI specification and API documentation. The repository's test command builds the project and runs a stdio smoke test that checks the tool list without using a real key or network connection.

_Full upstream README: https://allmcps.com/mcp/pagerankcafe-mcp-server/readme_

