Marvin MCP
OfficialYou can use this server to ask Marvin questions and manage conversations and running answers.
Ask a question in a new or existing conversation via
ask_marvin.Poll for a still-running answer with
get_response.Cancel a running answer with
cancel_response.List your conversations, most recent first, with
list_conversations.Fetch a conversation’s questions and answers with
get_conversation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Marvin MCP What's your take on NVDA after its latest earnings?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Marvin MCP
Ask Marvin, Marvin Labs' equity research analyst, from Claude, ChatGPT, Claude Code or any other MCP client. Marvin Labs hosts the server, so there is nothing to install: add one URL to your client and sign in with your Marvin account.
https://app-api.marvin-labs.com/v1/mcpSetup for every client is also at docs.marvin-labs.com/mcp.
The server calls only the Marvin Labs public API (/v1/responses, /v1/conversations, /v1/agents, /v1/agent_results, /v1/companies, /v1/tools, /v1/feedback, /v1/me, /v1/wallet), and it acts as you. Conversations you start here show up in the Marvin app, and you can continue app conversations from here.
Connect
The buttons open the right page. Neither app can fill in the form from a link yet, so paste the URL above yourself.
Claude (claude.ai, Desktop and mobile)
Open Customize → Connectors on claude.ai or in Claude Desktop.
Click + Add, then Add custom connector.
Name it
Marvinand paste the URL.Keep the detected sign-in settings (OAuth, with Claude's own OAuth client) and click Add.
Click Connect and sign in to Marvin.
To use it, click + in a chat, open Connectors and turn Marvin on. Once added, the connector also works in the mobile apps.
Free plan: Marvin counts as your one custom connector.
Team and Enterprise plans: an owner adds it once under Organization settings → Connectors (Add → Custom → Web). Each member then clicks Connect in their own Customize → Connectors.
ChatGPT (web; Business, Enterprise and Edu plans)
Your workspace admin may need to allow custom MCP servers first.
Open Plugins.
Click +, then Add custom MCP server.
Name it
Marvin, add a short description, and paste the URL under Connection.Choose OAuth for authentication, confirm the warning, then click Create as a plugin.
Sign in to Marvin when ChatGPT asks.
To use it, type @Marvin in a new conversation.
Claude Code
claude mcp add --transport http marvin https://app-api.marvin-labs.com/v1/mcpThen run /mcp in Claude Code to sign in. To use an API key instead of signing in, add --header "Authorization: Bearer mk_live_...". To create a key in the Marvin app, go to Account → API keys; it belongs to you in the team you have selected.
Other clients
Any MCP client that connects to remote servers over Streamable HTTP with OAuth works the same way: add the URL and sign in. If your client can't, use the local fallback.
Related MCP server: octagon-mcp-server
Tools
Tool | Does |
| Asks a question, in a new conversation or an existing one. Returns the answer, or a |
| Waits a little longer for an answer that's still running |
| Stops a running answer |
| Your conversations, most recent first, including the app's |
| A conversation's questions and answers |
| Reports by Marvin's research agents that you can read: yours, ones shared with you, and public ones |
| One report, in full |
| The research agents you can start, with the arguments each takes |
| Starts a research agent, which writes a new report and bills it like a run in the app. Returns at once with the |
| Stops a run you started |
| Shows one table or chart of an answer or report in the conversation, as the Marvin app draws it (clients that show MCP Apps) |
| How to show the table and chart blocks in answers |
| Who you're signed in as, your team and its plan, and how much credit the team has left |
| Sends your feedback to the Marvin team: a problem, a rating of an answer, or companies to cover. Only when you ask for it |
To research a company yourself instead of asking Marvin, use the same tools Marvin's analysts use. Each one answers in a single call, outside any conversation:
Tool | Does |
| Companies matching a name, ticker or identifier (ISIN, CIK, a ticker on another exchange), best first |
| A company's name, sector and industry, and its related companies (competitors, partners, customers, suppliers) |
| A company's documents, newest first: filings, transcripts, press releases, Marvin's reports and your uploads |
| The passages in a company's documents that answer a question, best first |
| A document by its id: whole, a window, or the text around a match |
| What one document says about a question, as verbatim passages and a summary |
| Reported figures and consensus estimates by metric and period |
| A whole statement, every line in order. Without |
| The document and line each figure came from, or a computed figure's inputs |
Every tool that takes a company takes a ticker or company id; find_company gets one from a name. Document ids such as fd:k7qm2xp stay valid, so you can keep them and pass them back to read_document. The financials tools cite figures with the same ids.
Every answer is a normal Marvin chat turn and is billed to your organisation's wallet the same way. search_documents, explore_document and query_financials are billed $0.03 per successful call; see GET /v1/pricing.
Long answers. An answer often takes a few minutes. MCP clients give up on a tool call long before that, so ask_marvin starts the answer in the background and waits for up to 50 seconds, reporting progress while it waits. If the answer isn't ready by then, the model calls get_response until it is. Clients that support MCP tasks (protocol 2026-07-28, such as Claude Code) get ask_marvin as a task instead: the call returns at once and the client collects the answer when it is done.
Tables and charts. Answers can contain tables and charts, written as JSON in ```financial-table and ```echarts blocks that the Marvin app renders. An answer lists them under figures. In Claude (web, desktop and mobile) and ChatGPT, the model calls show_figure and the table or chart appears in the conversation with its sources, drawn by the Marvin app's own renderer. Elsewhere, get_format_guide explains how to turn the blocks into markdown tables, or into charts if the client can draw them.
Client identification. Each request to the Marvin API sends User-Agent: marvin-mcp/<version> and the name of the tool that made it (X-Marvin-Client-Tool), so Marvin can see which tools are used. The server collects nothing else and sends no telemetry of its own.
Fallback: run it locally
Use this only if your MCP client can't connect to a remote server, or to point a client at another environment. Otherwise,connect to the hosted server.
The same server can run on your machine over stdio. It still calls the Marvin API over the internet, and it needs an API key instead of a sign-in.
You need:
An API key. In the Marvin app: Account → API keys → Add new key.
uv (
curl -LsSf https://astral.sh/uv/install.sh | sh).
Then, from the project you want Marvin in, run:
uvx --from git+https://github.com/Marvin-Labs/marvin-mcp marvin-mcp setupSetup asks for your API key, checks that it works, and adds Marvin to the clients it finds. By default that covers this project only:
Client |
|
|
Claude Code | yes, private to you (not in | yes |
Codex, CLI and app | yes, in | yes |
Claude Desktop | no per-project setting | yes |
ChatGPT desktop | no per-project setting | prints the values to paste into its settings |
Setup options:
Run setup again to change the key.
--yessets up every client found without asking.MARVIN_API_KEYin the environment skips the key prompt.--api-urlpoints the clients at another environment, such as stg.
By hand
Any MCP client that starts local (stdio) servers works:
Command:
uvx.Arguments:
--refresh --from git+https://github.com/Marvin-Labs/marvin-mcp marvin-mcp.Environment:
MARVIN_API_KEYset to your key.
For example:
claude mcp add marvin --env MARVIN_API_KEY=mk_live_... \
-- uvx --refresh --from "git+https://github.com/Marvin-Labs/marvin-mcp" marvin-mcp
codex mcp add marvin --env MARVIN_API_KEY=mk_live_... \
-- uvx --refresh --from "git+https://github.com/Marvin-Labs/marvin-mcp" marvin-mcpClaude Desktop on macOS does not see your shell's PATH, so give it the full path to uvx (which uvx).
--refresh fetches the latest version each time your client starts the server. To stay on one version instead, drop --refresh and pin a commit: git+https://github.com/Marvin-Labs/marvin-mcp@<sha>.
Configuration
Variable | Default | |
| (required) | Your Marvin API key |
|
| Another environment, such as stg or a local API ( |
|
| How long one |
|
| The Marvin app that draws |
Development
uv run pytest
MARVIN_API_KEY=mk_live_... MARVIN_API_URL=http://localhost:<port> uv run marvin-mcp # stdioTo try a change in real clients before it is published, run setup from your checkout with --source. The clients then start the server from your checkout too. Add --api-url for stg or a local API.
uvx --from <checkout> marvin-mcp setup --source <checkout>uv rebuilds the checkout whenever a file under src/ changes ([tool.uv] cache-keys in pyproject.toml), so the next run and the next client restart pick up your edits. To switch back to the published version, run setup again without --source.
This repository is published automatically from Marvin Labs' main codebase, where the client is maintained, and every release replaces it. Changes made here are overwritten, so it does not take pull requests.
Licence
MIT, see LICENSE.
Available Tools
5 toolsask_marvinA
Ask Marvin a question; returns its answer, or a response_id to poll.
Inputs: question (required), conversation_id. Returns: object
cancel_responseB
Stop an answer that is still running.
Inputs: response_id (required). Returns: object
get_conversationC
A conversation's questions and answers, oldest first.
Inputs: conversation_id (required), limit, cursor. Returns: object
get_responseC
Wait a little longer for an answer that ask_marvin left running.
Inputs: response_id (required). Returns: object
list_conversationsB
Your Marvin conversations, most recently updated first, including ones from the app.
Inputs: limit, cursor. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct action: ask_marvin initiates a question, get_response polls an async answer, cancel_response stops a running answer, list_conversations enumerates conversations, and get_conversation retrieves a specific conversation's history. There is no overlap in purpose, and the async lifecycle is cleanly split between ask and poll.
All names use snake_case and follow a verb_noun pattern (get_response, cancel_response, list_conversations, get_conversation). ask_marvin is a minor deviation because it names the assistant rather than a resource type, but it remains clear and consistent overall.
Five tools neatly cover the core operations—asking, polling, cancelling, listing, and retrieving—without redundancy. This is well within the typical 3-15 range for a focused assistant server.
The set provides complete coverage of the primary response and conversation lifecycle. Minor gaps like deleting or renaming conversations exist, but agents can work around them for most workflows.
Maintenance
Related MCP Connectors
Account/OAuth MCP for cited investor research: theses, risks, catalysts, revisions and historical cutoffs. This connection requires a BeliefState account. For accountless access, use https://beliefstate.ai/v1/research/mcp with a compatible x402 Base USDC wallet: 16 paid research tools plus two free discovery tools, 0.02–1.50 USDC per paid call.
Build and backtest investing strategies from your AI assistant. Remote MCP with OAuth sign-in.
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
Read-only MCP server for Sidechair. Your assistant reads your lessons, price bars and watchlist.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides LLM clients with market intelligence tools over stdio, including market snapshots, price history, sentiment scoring, evidence search, and research briefs, with saved-run resource access.AGPL 3.0
- FlicenseNot gradedqualityAmaintenanceEnables natural-language financial research across SEC filings, earnings transcripts, financial metrics, stock and crypto market data, stock news, and prediction markets, returning structured, source-backed answers within MCP clients.-
- FlicenseNot gradedqualityAmaintenanceEnables natural-language research and analysis across public filings, earnings calls, financial metrics, stock and crypto data, news, and prediction markets with structured, source-backed answers in MCP clients.-
- FlicenseNot gradedqualityAmaintenanceEnables natural-language financial research and analysis across public filings, earnings transcripts, financial metrics, stock and crypto market data, and prediction markets, returning structured, source-backed answers within MCP clients.-