Find link opportunities from Gemini CLI
To find link opportunities from Gemini CLI, ask it to run the BacklinkGenie agent for your site, then ask for the prospect report filtered the way you want. BacklinkGenie does the searching, site checks and editor lookup; Gemini CLI sorts and summarises the results.
What should I ask Gemini CLI?
Paste this into Gemini CLI and change the details to fit.
Read @README.md, then run the BacklinkGenie agent for our site. Show the 10 best prospects by DR and say which ones rank in Google's top 5.
In Gemini CLI: Gemini CLI asks you to confirm each MCP tool call unless the server is marked trust: true. Leave trust off for BacklinkGenie so run_agent always asks first.
Example answer from Gemini CLI
Read @README.md, then run the BacklinkGenie agent for our site. Show the 10 best prospects by DR and say which ones rank in Google's top 5.
Read README.md. The run found 34 prospects. Of the top 10 by DR, 6 rank in the top 5 for their search, including techradar.com (#2 for "best research note app") and zapier.com (#3 for "note-taking apps"). 7 have a verified contact.
What happens, step by step
-
01
Connect BacklinkGenie to Gemini CLI
gemini mcp add (HTTP). Use an API key from Settings → MCP.
-
02
You ask for a run
The assistant calls run_agent for your site. Searching and reading the report are free. Each pitch the run drafts uses 1 email from your monthly allowance, and a new pitch only starts while 3 emails are left, so its follow-ups are never stranded.
-
03
BacklinkGenie searches
It runs Google searches built from your product profile, opens each ranking post, checks the site's quality and Domain Rating, and finds and verifies the editor's email.
-
04
You read the report
get_prospect_report returns every prospect with its DR, the query and position it ranks for, contact status, a fit score and a one-line reason it fits. Filter by new, drafted, contacted, replied, won or skipped.
Why find link opportunities from Gemini CLI?
The slow part of link building is the list: searching Google for every "best X", "X alternatives" and "how to" query, opening each post, checking the site isn't a link farm and finding who edits it.
BacklinkGenie looks for five kinds of page: best-of roundups, comparison and alternatives pages, resource pages, how-to guides and niche blogs. Each prospect comes back with its Domain Rating, the search it ranks for, a contact status and a one-line reason it fits.
Tips
- Ask for the filters you care about in plain words: "only DR 40+", "only posts in the top 10", "only ones with a verified contact".
- If the list drifts off-niche, update your product profile first and run again. The profile is what the searches are built from.
- Runs keep going in the background. Ask "is the run done?" later in the same conversation.
Which tools does Gemini CLI call?
-
run_agentchanges thingsStarts a run that finds new posts in your niche and drafts pitches. Pitches count toward your monthly emails.
-
get_prospect_reportread onlyEvery prospect with its Domain Rating, Google ranking evidence, contact status, fit score and why it fits.
More you can do from Gemini CLI
Find link opportunities from another tool
Not connected to Gemini CLI yet?
Create an API key in BacklinkGenie under Settings → MCP, then add the server. The full Gemini CLI setup guide has every step.
gemini mcp add -s user --transport http backlinkgenie https://app.backlinkgenie.com/mcp \
--header "Authorization: Bearer bg_live_your_key"
Gemini CLI setup gotchas
- url versus httpUrl. In settings.json, httpUrl is for streamable HTTP servers like BacklinkGenie. url is for the older SSE transport and won't connect.
- Limit what it can do. Add includeTools or excludeTools to the server entry. For example, excludeTools: ["send_reply", "approve_draft"] keeps sending in the dashboard.
- Built-in prompts. BacklinkGenie's prompts, such as daily_review and weekly_report, appear as slash commands in Gemini CLI.
BacklinkGenie is an AI link-building outreach agent. It finds posts in your niche, finds and verifies the editor, writes one pitch per post from your brand's outreach mailbox, follows up and checks every won link weekly. Gemini CLI works on the same account as the dashboard, so the same quality check and mailbox limits apply. Plans: Starter $99/mo (1 site, 1 mailbox, 1,000 emails), Growth $249/mo (3 sites, 3 mailboxes, 3,000 emails), Agency $499/mo (8 sites, 8 mailboxes, 8,000 emails). Every feature, including MCP, is on every plan. See how BacklinkGenie works or compare plans.
Questions people ask
How many prospects does a run find?
It depends on your niche and how many posts rank for searches around your product. A broad category can return dozens per run; a narrow B2B niche returns fewer, better-matched ones. We don't pad the list with weak sites to hit a number.
Does a run send anything?
No. A run finds prospects and drafts pitches. Pitches wait for your approval unless you've turned on Autopilot in the dashboard, and we suggest about two weeks of reviewing before you do.
Can I try this before paying?
Yes, in the dashboard. The free prospect report lists up to 40 posts for your site with no card needed. Running the agent from an assistant, and sending pitches, needs a paid plan.
Does Gemini CLI ask me before it changes anything?
This job uses run_agent, which change things on your account. Gemini CLI asks you to confirm each MCP tool call unless the server has trust: true. Leave trust off for BacklinkGenie.
Do I need an API key to use BacklinkGenie from Gemini CLI?
Yes. Create one in BacklinkGenie under Settings → MCP; keys start with bg_live_ and are shown once. MCP access is on every paid plan, from $99/mo.
Related
Set up BacklinkGenie in Gemini CLI
gemini mcp add (HTTP). Takes about two minutes.
MCP server reference
Endpoint, auth and all 22 tools in detail.
Prompt library
More prompts for pitching, replies and reporting.
How BacklinkGenie works
The outreach agent your assistant is driving.
All integrations
Setup guides for all 8 clients, from Claude and ChatGPT to n8n.
Pricing
From $99/mo. MCP access is on every plan.
Start with a free prospect report
Up to 40 posts worth pitching, no card needed. Connect Gemini CLI once you subscribe.