Real-time research agent with AnySearch MCP plus Hermes and OMP
From README links · today
Wired a live search MCP into two agent runtimes for parallel research.
What they did
They wanted an agent that could research a topic in real time instead of relying on stale training data. Starting from the AnySearch MCP server README, they registered an API key in a single call using a real email address, captured the one-time plaintext key, and stored it as the Authorization Bearer value in the MCP config plus the ANYSEARCH_API_KEY environment variable. They pointed the agent runtimes at the Streamable HTTP endpoint https://api.anysearch.com/mcp, which current Hermes Agent and OMP releases connect to directly without an SSE or stdio proxy. With the connection live, they used the general web search tool for open-ended natural language questions, the vertical domain search tool for structured queries across finance, academic, security, legal, and code sources, and the parallel batch search tool to fire several independent queries in one call. For pages that looked promising, they used URL content extraction to pull full page content back as Markdown so the agent could quote and summarize rather than guess from snippets. They kept anonymous access as a fallback path for quick tests before the key was configured, and they handled the documented error cases: invalid email prompts a re-entry, HTTP 409 or email_already_registered means sign in at the login URL rather than retry, and rate-limit responses back off using Retry-After instead of hammering the endpoint.
How it went
The setup worked end to end: the agent registered a key, connected over Streamable HTTP, and returned cited research with full-page extracts in a single session. Parallel batch search cut wall-clock time on multi-question research noticeably. Polish level is solid for a personal or small-team workflow, though it depends on the agent runtime honoring the MCP config and on the account's rate limits holding up under heavy parallel use.
Worth knowing
The API key is shown only once at registration, so losing it means signing in to the dashboard to create another. Anonymous access works but with lower rate limits, which can stall batch searches. The email must be real and reachable because it becomes the account username. Quota and rate_limit values in the README are account-specific examples, not a fixed plan. Error handling spans HTTP status, application code, and message text, so a naive retry loop can misread failures.
Wiring
Order: (1) register the key with a single POST to https://api.anysearch.com/v1/auth/email/register using a real email; (2) persist data.api_key.key into the MCP server config as Authorization: Bearer <key> and/or ANYSEARCH_API_KEY in .env; (3) configure the client to use the Streamable HTTP endpoint https://api.anysearch.com/mcp, no SSE or stdio proxy; (4) confirm key priority — CLI flag or Authorization header first, then ANYSEARCH_API_KEY, then .env, then anonymous fallback; (5) call general web search, vertical domain search, parallel batch search, and URL content extraction as needed. Handle errors by status, code, or message: invalid email asks the user again, 409 or email_already_registered sends them to the login URL without retry, rate-limit responses honor Retry-After or fall back to anonymous, and Key creation failed means the account exists but the key must be made manually in the dashboard.
Try it yourself
Connect the AnySearch MCP server to this repo's agent setup. Register an API key with my real email via POST https://api.anysearch.com/v1/auth/email/register, store data.api_key.key as Authorization: Bearer in the MCP config and as ANYSEARCH_API_KEY in .env, and point the client at https://api.anysearch.com/mcp using Streamable HTTP. Then run a demo: three parallel batch searches on one topic, one vertical domain search, and full-page Markdown extraction of the top result. Show me the config diff and the cited output.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-anysearch-mcp-server-and-hermes-agent-and-oh-my-picurl -s https://api.runchr.com/api/recipes/runchr/stack-anysearch-mcp-server-and-hermes-agent-and-oh-my-pi/manifestSystem prompt
You are a real-time research agent that connects to the AnySearch MCP server so you can answer with fresh, cited web results instead of stale training data. Prefer live search and full-page extraction over guessing, and handle API errors by their status, code, or message rather than retrying blindly.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-anysearch-mcp-server-and-hermes-agent-and-oh-my-pi/manifest.