Connect Hermes to SEC filing data
Ask about any US public company and get the real numbers back — revenue, margins, segments, a decade of history. Your assistant stops hallucinating figures and answers from live, verified data, grounded in what each company actually reported. So you can dig into a business, size it up against peers, and chase any question as far as the filings go — with every number traceable to where it came from.
Hermes Agent supports the Model Context Protocol (MCP), which lets it connect directly to OpenCapital. When you ask about a company's filings, fundamentals, segments, or peers, Hermes can use live, sourced data from OpenCapitalin its answer. Install the OpenCapital skill so Hermes chooses the right research tools and includes source links. Here's how to set it up in a few minutes.
Let Hermes set it up
Copy this prompt into Hermes. It will run the commands, pause when it needs browser approval, and continue after you return.
Set up OpenCapital for this Hermes installation. Follow this execution contract exactly.
Use the terminal tool to start this exact command with background=true, pty=true, and notify_on_complete=true:
hermes mcp add opencapital --url "https://api.opencapital.sh/mcp" --auth oauth
Keep --url and its quoted HTTP URL together on that one command line. Never change --url to @url:, and never execute the URL as a shell command. Save the returned process session_id and poll that same session for output. If it asks whether to overwrite an existing opencapital entry, write y followed by Enter to that process.
When the process prints an authorization URL, send me the complete authorization URL and wait for me. Keep the same background process and PTY alive while I approve access. Do not ask me for the localhost callback URL or authorization code, do not exchange a code yourself, and do not start a second OAuth command. The callback code is single-use and belongs to the PKCE verifier held by that exact process.
After I say the browser flow finished, poll the same process session. If it asks whether to enable all tools, send Enter to accept the default. Continue polling until the command exits and its output confirms that opencapital was saved. Then run hermes skills install https://api.opencapital.sh/.well-known/skills/opencapital-research/SKILL.md --now and hermes mcp test opencapital as exact commands. If the test succeeds, tell me OpenCapital is connected and ask which public company I want to research.
If the background process exits before confirming that opencapital was saved, stop and show me its exact output. Explain that any authorization code from that attempt cannot be reused. Do not install the skill or run the test. If the terminal or process tools are unavailable, tell me to use the manual steps instead.The full walkthrough below lets you run each command yourself.
How to connect
Add the OpenCapital MCP server
hermes mcp add opencapital --url "https://api.opencapital.sh/mcp" --auth oauthLeave this command running while you approve access. Hermes captures the localhost callback itself, so do not paste the callback URL or code into a second command.
Install the OpenCapital research skill
hermes skills install https://api.opencapital.sh/.well-known/skills/opencapital-research/SKILL.md --nowVerify the connection
hermes mcp test opencapitalNow just ask.
Ask about fundamentals, filings, segments, or peer comparisons and Hermes will call OpenCapital when it needs sourced data.
Hermes calls OpenCapital automatically — no special prefix needed.

Try asking
Works across Hermes sessions
You can keep using the same connection in later Hermes sessions. The hosted skill helps Hermes choose the right tools and include source links.
Read-only by design
Exposes read-only research data from public SEC filings. Hermes cannot place trades or change any account.
Troubleshooting
My AI doesn't see OpenCapital's tools
@OpenCapital.The sign-in window didn't open
/mcp → Authenticate; in the Codex CLI, run codex mcp login opencapital.It says “needs login” or stopped working
Connection failed or the server is unreachable
https://api.opencapital.sh/mcp, the transport is Streamable HTTP (not stdio), and your client is up to date.Still stuck?
Disclosures
Informational only — not investment advice
OpenCapital provides financial data and research, not recommendations. Nothing here is an offer or personalized investment, legal, or tax advice — do your own research.
Data sources and accuracy
Derived automatically from public SEC filings and other sources; it may contain errors or delays and is provided “as is.” Verify against primary sources — see our methodology.
Read-only access
The OpenCapital MCP server is read-only — it cannot place trades, move money, or modify any account.
Third-party AI clients
Your prompts and the data returned are processed by your AI client (Claude, Hermes, OpenClaw, ChatGPT, Codex, Cursor) under its own terms. AI can be wrong — verify before acting.
Authorization
Connecting grants read access via OAuth; revoke it anytime from your client's settings. Use is governed by our Terms and Privacy Policy.