Your stock research, inside the AI you already use
Alfalyzer connects to Claude, Cursor, VS Code, Gemini, Codex and ChatGPT through the Model Context Protocol. Ask whether a company is expensive, which long/short pairs are stretched, or how your own holdings are doing, without leaving the conversation.
The server address
Paste this wherever your client asks for a remote MCP server.
https://alfalyzer.com/mcp/v1
Streamable HTTP, protocol revision 2025-06-18, OAuth 2.0. It needs an Alfalyzer account on the paid plan; the first connection walks you through signing in.
Connecting from each app
Claude Codeno key needed
One line in the terminal. It asks you to sign in on first use.
$ claude mcp add --transport http alfalyzer https://alfalyzer.com/mcp/v1
Cursorneeds a key
Add this to .cursor/mcp.json, with a key created in your account.
{
"mcpServers": {
"alfalyzer": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://alfalyzer.com/mcp/v1",
"--header", "Authorization:${AUTH}"],
"env": { "AUTH": "Bearer YOUR_KEY" }
}
}
}
VS Codeno key needed
Add this to .vscode/mcp.json. It asks you to sign in on first use.
{
"servers": {
"alfalyzer": { "type": "http", "url": "https://alfalyzer.com/mcp/v1" }
}
}
Gemini CLIneeds a key
Add this to ~/.gemini/settings.json, with a key created in your account.
{
"mcpServers": {
"alfalyzer": {
"httpUrl": "https://alfalyzer.com/mcp/v1",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}
Codex CLIneeds a key
One line in the terminal. Codex asks for the key on first use.
$ codex mcp add alfalyzer --url https://alfalyzer.com/mcp/v1
Claude Desktopno key needed
Settings → Connectors → Add custom connector. Paste the address above into Remote MCP server URL and leave the OAuth fields empty. Works in the app and on the web.
ChatGPTno key needed
Settings → Connectors → Add custom connector, with the same address. Needs a plan that allows connectors.
The five tools
Four of them only read. The fifth writes holdings to your own Alfalyzer portfolio, and nothing else.
alfalyzer_screen_companies
“Which robotics companies are worth looking at?”
Searches and ranks the companies Alfalyzer covers by sector, industry, curated theme, size, quality, value, growth or dividends. It comes back with the numbers attached, and with Alfalyzer's own reading of which companies clear four fixed tests and which look cheap only because something is wrong.
alfalyzer_value_company
“Is Apple expensive right now?”
Price, Alfalyzer's own intrinsic-value estimate and the gap between them, plus valuation multiples, five-year growth, margins, returns on capital, the balance sheet and the dividend. One call, one company.
alfalyzer_find_pairs
“What long/short pairs are stretched today?”
Market-neutral pairs whose spread has pulled away from its historical relationship. Every pair returned has passed a cointegration test, which is what separates a real statistical relationship from two lines that happened to move together. You get which side to buy, which to sell short, how many standard deviations out it is, how long the spread has historically taken to close, and the hedge ratio.
alfalyzer_my_portfolio
“How is my portfolio doing?”
Your holdings priced with the latest quotes, converted to one currency, with unrealised profit and loss, long and short exposure, and a reading of the portfolio's shape: how concentrated it is, how directional, and how it splits by currency.
alfalyzer_record_positions
“I own 20 shares of Microsoft at $380. Add that to my portfolio.”
The one tool that writes. It stores holdings in your own Alfalyzer portfolio so the rest of the product can take them into account. Recording a company you already hold replaces that holding rather than adding a second one, and it tells you what was there before. It never deletes anything.
What it will not do
- It is not connected to any broker. Alfalyzer cannot place an order, cancel one, or move money.
- It only ever sees your account. Every tool reads the holdings, watchlists and settings of the person the connection belongs to, and nobody else's.
- It is not investment advice. Alfalyzer is a research tool, not a regulated investment firm.
Getting a key
Claude, Claude Desktop, Claude Code, VS Code and ChatGPT sign you in directly and need no key. Cursor, Gemini CLI and Codex read a configuration file, so they need one. You create keys inside Alfalyzer, under Account → Connections, and a key is shown once and then only ever stored as a hash.
For AI agents
If you are an agent rather than a person, the machine-readable summary of
what Alfalyzer is, what the server exposes and where the public pages live
is at /llms.txt. The OAuth discovery documents are
where the specification says they should be, under
/.well-known/oauth-protected-resource/mcp/v1.