Skip to main content
Glama

Paper MCP Server

by paperinvest
MIT License
101
13
  • Apple

Paper MCP Server (@paperinvest/mcp-server)

npm version npm downloads license

Official Model Context Protocol (MCP) server for Paper's trading platform. Lets AI coding assistants (Cursor, Claude, etc.) interact with the Paper Trading API to fetch quotes, place paper orders, and inspect portfolios.

Install

# Global install (recommended for CLI usage) npm i -g @paperinvest/mcp-server # Or run with npx npx @paperinvest/mcp-server --help

Node.js 16+ recommended.

Configure

Set your Paper API credentials via environment variables (shell or .env).

export PAPER_API_KEY=your_api_key # Optional override export PAPER_API_BASE_URL=https://api.paperinvest.io

IDE Integrations

Cursor

File: ~/.cursor/mcp.json

{ "mcpServers": { "paper": { "command": "paper-mcp-server", "env": { "PAPER_API_KEY": "your_api_key" } } } }

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "paper": { "command": "paper-mcp-server", "env": { "PAPER_API_KEY": "your_api_key" } } } }

Tools Reference

  • paper.quote(symbol) — Get real-time NBBO quote for a symbol

  • paper.quotesBatch(symbols[]) — Get quotes for multiple symbols in one request

  • paper.order({ ... }) — Place a simulated order (market/limit/stop, etc.)

  • paper.portfolio(id) — Retrieve portfolio positions and P&L

See more tools and examples in the repository and on the MCP landing: https://paperinvest.io/mcp

Examples

Configs and demo scripts are in examples/:

  • examples/.cursor/mcp.json — Cursor integration

  • examples/claude/claude_desktop_config.json — Claude integration

  • examples/scripts/get-quote.sh — Example prompt to fetch a quote

  • examples/scripts/place-order.sh — Example prompt to place an order

Getting Started

  1. Sign up at app.paperinvest.io

  2. Generate an API key from your account settings

  3. Add the configuration above with your API key

  4. Restart Claude Desktop or Cursor

Troubleshooting

  • Ensure paper-mcp-server is in your PATH (npm prefix -g may help).

  • Verify PAPER_API_KEY is set in the same environment as your client.

  • Restart Cursor/Claude after changing config.

  • Check connectivity to https://api.paperinvest.io.

Links

Support

For support, visit paperinvest.io or email support@paperinvest.io

License

MIT © Paper Invest, Inc.

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI assistants like Claude to interact with Paper's trading platform API using natural language, allowing users to manage accounts, portfolios, trades, and access market data through conversational requests.

  1. Install
    1. Configure
      1. IDE Integrations
        1. Cursor
        2. Claude Desktop
      2. Tools Reference
        1. Examples
          1. Getting Started
            1. Troubleshooting
              1. Links
                1. Support
                  1. License

                    Related MCP Servers

                    • A
                      security
                      F
                      license
                      A
                      quality
                      Provides AI assistants like Claude or Cursor with access to Payman AI's documentation, helping developers build integrations more efficiently.
                      Last updated -
                      5
                      • Linux
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      Enables AI assistants like Claude Desktop, Claude Code, and Cursor to interact directly with Flatfile data through 100+ API endpoints for viewing, managing, and manipulating sheets, workbooks, records, and spaces.
                      Last updated -
                      4
                      • Apple
                    • -
                      security
                      A
                      license
                      -
                      quality
                      Enables large language models to interact with Alpaca's trading infrastructure using natural language, supporting stock/options trading, portfolio management, watchlist handling, and real-time market data access.
                      Last updated -
                      MIT License
                      • Linux
                      • Apple
                    • A
                      security
                      F
                      license
                      A
                      quality
                      Transforms AI assistants into autonomous crypto trading agents with real-time market analysis, portfolio management, and trade execution across 17+ blockchains.
                      Last updated -
                      32
                      6
                      17

                    View all related MCP servers

                    MCP directory API

                    We provide all the information about MCP servers via our MCP API.

                    curl -X GET 'https://glama.ai/api/mcp/v1/servers/paperinvest/mcp-server'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server