mcp-desearch: Instructions file for Gemini CLI

GEMINI.md

mcp-desearch GEMINI.md is an instructions file for Gemini CLI from Desearch-ai/mcp-desearch. It costs 1,634 tokens per session, scanned A, original, MIT.

A Gemini CLI instruction file for the Desearch search service. It describes tools for web and X searches, reading public URLs, and retrieving posts, users, replies, and trends from X.

In plain words
What is it for?
Use it to guide current web research, search X posts, read a specific public page, or retrieve specified X account and post data.
Why use it?
It tells the agent which search or page-reading tool to use for different requests. Using it requires a Desearch API key sent to the hosted service.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: positional $N argument.

This is Desearch-ai/mcp-desearch's own configuration. It tells Gemini CLI how to work on mcp-desearch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-desearch configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Desearch-ai/mcp-desearch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Desearch-ai/mcp-desearch/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/Desearch-ai/mcp-desearch

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-desearch GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/desearch-ai/mcp-desearch/gemini-md/github.svg)](https://agentmods.dev/instructions/desearch-ai/mcp-desearch/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/desearch-ai/mcp-desearch/gemini-md"><img src="https://agentmods.dev/badge/instructions/desearch-ai/mcp-desearch/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-desearch GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/desearch-ai/mcp-desearch/gemini-md"><img src="https://agentmods.dev/badge/instructions/desearch-ai/mcp-desearch/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,634 This file is loaded in full into every session.
When invoked 1,634 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01634 $0.01634
Opus 5.5 $0.00654 $0.00654
Sonnet 5.5 $0.00327 $0.00327
Haiku 4.5 $0.00163 $0.00163

Measured 8d ago against content hash 49c4a6809683, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-desearch GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

GEMINI.md · 20 lines

How it starts

The opening of the file, as written. The whole thing — 20 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Desearch

The desearch MCP server connects to the hosted Desearch endpoint https://mcp.desearch.ai/mcp and sends your Desearch API key in the x-api-key header. Get a key at https://console.desearch.ai/api-keys.

Version 0.12.0 exposes 51 tools:

  • search-api: web search on the Desearch index: ranked pages, each with the passage that best matches the query, and with summary: true a short answer with numbered citations.
  • ai-search: X posts and web (also arxiv, wikipedia, hackernews, reddit) with relevant links and an optional AI summary. youtube is not a tool id.
  • web-search: SERP-style web search. web-links-search: web link search (deprecated; use search-api).
  • x-search: tweet search on X. x-links-search: AI search for X post links.
  • extract: read a public URL as text or HTML. Prefer it over web-crawl (legacy route, same arguments).
  • X data tools: x-posts-by-urls, x-post-by-id, x-posts-by-user, x-post-retweeters, x-user-posts, x-user-replies, x-post-replies, x-trends.
  • tiktok, facebook, instagram: public posts, profiles, comments, and hashtags. Set action (for example search, profile, profile_posts, comments, hashtag) and that action's arguments. List actions return next_cursor: send it back unchanged as cursor, with the same action and target, for the next page. Facebook search and hashtag return Meta Ad Library ads. All three are read-only.
  • youtube, reddit, threads: public YouTube videos, transcripts, comments, and channels; Reddit posts, subreddits, and comment trees; Threads posts, profiles, and user search. Same action pattern and next_cursor paging (youtube search, comments, channel_videos and reddit search, subreddit_posts, comments page; Threads returns one page). Each call is billed per request. All three are read-only.
  • People Search: people-search starts a paid job billed to the user's Desearch balance (it reserves count people and bills only those it delivers). It is marked readOnlyHint: false and destructiveHint: false: it creates a new task and does not delete or overwrite anything. openWorldHint is true on every tool. Poll people-search-status with the task_id (searches usually take 1 to 5 minutes). Use people-search-pause and people-search-resume to pause and resume a search (destructiveHint: false, they undo each other) and people-search-cancel to stop it for good (destructiveHint: true, because cancel cannot be undone). people-search-tasks and people-profiles list past searches and the people they found, and people-search-export returns them as CSV or JSON Lines text. people-search-status, people-search-tasks, people-profiles, and people-search-export are read-only. All of these except people-search are free.
  • Company Search: company-search finds companies on the web from a description and company-enrich reads the domains you send; each starts a paid job billed to the user's Desearch balance (it reserves count companies, or one per domain sent, and bills only those it delivers; a Company Search with max_cost_usd reserves that budget and also bills its search effort, so set it only when the user agreed to the amount, and continue_from continues an ended search with only new companies). Both are marked readOnlyHint: false and destructiveHint: false. Each company comes with its public emails, phones, and social profiles, and its leaders (CEO, founders, CTO, CFO by default) with LinkedIn profiles and emails; every contact keeps the page it came from. Poll company-search-status with the task_id: companies arrive with enrichment status partial and later stages fill them in, so read again without cursor for their latest version. company-search-pause and company-search-resume pause and resume a task (destructiveHint: false), company-search-cancel stops it for good (destructiveHint: true), and company-search-tasks lists past tasks. All of these except company-search and company-enrich are free.
  • Monitors: monitor-create sets up a search over web, X, Reddit, YouTube, Threads, TikTok, and Meta Ad Library ads (meta_ads, with the query as keywords such as a brand or product) (or watches up to 10 accounts per source with x_accounts, reddit_subreddits, youtube_channels, tiktok_accounts, threads_accounts, and on Instagram and Facebook, which only watch accounts and need them, instagram_accounts and facebook_pages; or up to 10 TikTok or Instagram hashtags with tiktok_hashtags and instagram_hashtags, which find posts from any account and are enough for Instagram; min_score: 0 keeps every new post; TikTok search has no date filter and ranks by relevance, so watch tiktok_accounts to follow creators) that reruns on a schedule (interval 1h to 7d) and keeps only new items that pass the screen (relevant, new_info, and one question per criterion; kept at min_score). Creating, reading, changing, and deleting monitors is free; each run is billed to the user's Desearch balance when it ends (its searches at list price, $0.05 per 1,000 items screened, and the summary's LLM usage plus 50%), and run_now (the default) queues the first run at once. monitor-estimate prices a configuration. monitor-items, monitor-run, and monitor-runs read what it found; monitor-update changes, pauses, or resumes it (destructiveHint: true: old settings are not kept); monitor-trigger runs it now (billed); monitor-delete removes it for good (destructiveHint: true). With webhook_url, kept items are POSTed to it, signed with the webhook_secret returned once by monitor-create and monitor-webhook-rotate-secret (destructiveHint: true); monitor-webhook-test sends a test event.

Read the full file on GitHub · 20 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +1 lines · +466 tokens per session 49c4a6809683
  2. 14d ago Changed · +1 lines · +47 tokens per session 155b9b39b83f
  3. 18d ago Changed 4b54e2757543
  4. 26d ago Changed · +46 tokens per session f47170cb2e1f
  5. 29d ago Changed · +2 lines · +287 tokens per session d6830611fb4c
  6. 1mo ago Changed · +1 lines · +271 tokens per session 3026b2d545e2
  7. 1mo ago Changed · +60 tokens per session d037f0a0d9e8
  8. 1mo ago Changed · +1 lines · +190 tokens per session 5ffd1edb15b9
  9. 1mo ago Changed · +7 tokens per session 52c7db0243ee
  10. 1mo ago First seen · 14 lines · 260 tokens per session scan A 33c67e3abd4d

Subscribe to this mod's changes

mcp-desearch GEMINI.md is an instructions file published in the GitHub repository Desearch-ai/mcp-desearch (1 stars, last pushed yesterday), licensed MIT. It adds 1,634 tokens to every session, about $0.0065 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

mcp-desearch GEMINI.md compared with instructions from other repositories

mcp-desearch GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-desearch GEMINI.mdDesearch-ai/mcp-desearchInstructions file1yesterdayMITA1,634Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot