# `Bourse.MCP`
[🔗](https://github.com/ZenHive/bourse/blob/main/lib/bourse/mcp.ex#L1)

MCP tool definitions for the Bourse API.

Generates Model Context Protocol tool definitions from Descripex-annotated
functions on the `Bourse` module. Includes the `exchange/2` constructor and
all 241 unified methods plus the `exchange/2` constructor — each becomes a discoverable MCP tool with typed
input schema derived from `api()` param declarations.

    tools = Bourse.MCP.tools()
    # => [%{name: "bourse__fetch_ticker", description: "...", inputSchema: %{...}}, ...]

# `tools`

```elixir
@spec tools(keyword()) :: [map()]
```

Generate MCP tool definitions for all api()-annotated functions on the Bourse module.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
