Detalle del Skill

you-finance

Finance research and market-data API workflow.

CoincidenciaDirectaRevisado para finanzas
Fuenteyoudotcom-oss/agent-skillsFuente externa
Instalaciones reportadas15Solo señal de popularidad

Revisar antes de usar

La revisión automática comprueba relevancia, no seguridad ni respaldo. Lee las instrucciones de la fuente antes de usar este Skill.

Vista previa guardada

SKILL.md

Este extracto es una copia guardada durante la revisión. La fuente externa contiene la versión completa y actual.

---
name: you-finance
description: Route finance questions to an existing local script, a new You.com Finance Research API call, or an MCP payment-aware fallback.
license: MIT
compatibility: Requires network access and either the You.com Finance Research API with `YDC_API_KEY` or MPP/x402 payment support, or a You.com MCP client that can tolerate long finance responses and keyless MPP/x402 payment challenges.
metadata:
  mcp_servers: '{"you-docs":{"url":"https://you.com/docs/_mcp/server","auth":"none","tools":["searchDocs"]},"you-finance-fallback":{"url":"https://api.you.com/mcp?tools=you-finance","auth":"YDC_API_KEY OAuth MPP/x402","tools":["you-finance"]}}'
  author: youdotcom-oss
  version: 0.3.0
  category: finance
  keywords: you.com,mcp,finance,market-data,tickers,earnings,company-financials
---

# You.com Finance Research

Use this skill to decide how a local code agent should answer finance-specific questions. Prefer reusing or creating a small local script for You.com Finance Research API calls instead of directly invoking MCP for every finance question.

## Prerequisites

For API scripts, use `YDC_API_KEY` when available or an MPP/x402-capable HTTP client for keyless paid Finance Research API calls.

For MCP fallback, the You.com finance MCP server must be installed and connected with a client that can tolerate long finance responses:

- Server URL: `https://api.you.com/mcp?tools=you-finance`
- Auth: either `YDC_API_KEY` bearer auth, OAuth login into the server, or an MPP/x402-aware MCP client. For bearer auth, set `Authorization: Bearer ${YDC_API_KEY}` in the host MCP client.
- Required tool: `you-finance`

## Local code-agent workflow

Before answering, choose the lightest path that fits the task:

1. Reuse an existing local finance script when one exists. Look in `scripts/`, package scripts, and the current working directory.
2. Otherwise, implement against `https://api.you.com/v1/finance_research`, using Docs MCP `searchDocs` to verify current request shape, auth, payment behavior, and `research_effort` before coding. If Docs MCP is unavailable, use the canonical page: https://you.com/docs/api-reference/finance-research/v1-finance_research
   - With `YDC_API_KEY`, use these API request headers: `X-API-Key: ${YDC_API_KEY}` and `User-Agent: SKILL/(@youdotcom-oss/agent-skills you-finance)`.
   - With MPP/x402, expect Finance Research API pricing by `research_effort`; retry `402 payment-required` only through a payment-capable client or library. For the keyless direct x402 REST client pattern (pay USDC on Base, no API key), follow [x402 direct client](references/x402-direct-client.md); it encodes the 5-step flow, dependency and version requirements, security rules, and spend discipline.
3. Use `you-finance` MCP only when direct API implementation is not practical, for example OAuth or MCP-hosted payment handling is required and the client can tolerate long request resolution times.
   - Prefer a dedicated `you-finance` server profile when using MCP and the host exposes server profiles. The expected remote MCP config is `https://api.you.com/mcp?tools=you-finance`.
   - `you-finance` supports You.com auth via `YDC_API_KEY` bearer auth, OAuth, or MCP payment-header pass-through. If the MCP client receives a `402 payment-required` challenge, let the client pay externally and retry with payment headers. Do not handle wallets or signing in this skill.
   - For keyless payment with no API key and no manual signing, compose the You.com MCP server with the Coinbase Payments MCP server; see [Coinbase Payments MCP path](references/coinbase-payments-mcp.md) for setup and when to choose it over the direct client.
   - If neither API access nor `you-finance` is available, tell the user what is missing, provide the Finance Research API and MCP setup options from the prerequisites above, and request approval before installing, connecting, or changing configuration.

## When to use

- Stock price or ticker lookup.
- Company financial
Leer la fuente completa en GitHub (abre una página externa)
Contexto

Trabajo relacionado