Skip to main content

Polygon MCP Server

MCP server for Polygon API (Codeforces Polygon).

Requirements

  • Python 3.10+
  • polygon_api==1.2.0

Install

From PyPI repository

pip install polygon-mcp-server

With uv:

uv pip install polygon-mcp-server

From the sources

Install the package (adds the polygon-mcp CLI):

pip install .

With uv:

uv pip install .

Or install the CLI tool into uv's tool environment:

uv tool install .

Run

Set credentials:

  • POLYGON_API_KEY
  • POLYGON_API_SECRET
  • Optional: POLYGON_API_URL
  • Optional: POLYGON_MCP_CONFIG to load stored credentials

Then start:

polygon-mcp

Logging

Logs are written to ~/.local/state/polygon-mcp/polygon-mcp.log (or $XDG_STATE_HOME/polygon-mcp/polygon-mcp.log if set). Override with POLYGON_MCP_LOG_FILE.

File output safety

Tools that write to disk only allow paths within:

  • the current project directory
  • /tmp
  • any extra roots in POLYGON_MCP_OUTPUT_ROOTS (colon-separated)

Metadata

Release files for polygon-mcp-server 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polygon-mcp-server 0.4.0
File Size Uploaded Provenance Actions
polygon_mcp_server-0.4.0.tar.gz 28.6 kB Without provenance Details for polygon_mcp_server-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polygon-mcp-server 0.4.0
File Interpreter ABI Platform Actions
polygon_mcp_server-0.4.0-py3-none-any.whl Python 3 none any Details for polygon_mcp_server-0.4.0-py3-none-any.whl

Total release size: 45.5 kB

Release files / polygon_mcp_server-0.4.0.tar.gz

Download URL polygon_mcp_server-0.4.0.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8001b29b51813abd6676a729fc789aa15e2d002d007179455bc81bb09ed5abe5
BLAKE2b-256 checksum
How to use checksums
e7650ece58fafe9860e8aa94c2306996fd6f06925aae8e03c1b9b278be711fc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / polygon_mcp_server-0.4.0-py3-none-any.whl

Download URL polygon_mcp_server-0.4.0-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48c427ad57afd2f78e940ff81826a77aed6fe1f499572e6e7f52538b19e74d8f
BLAKE2b-256 checksum
How to use checksums
92a27ce05aa3302bfa81085e709c43f983008c92c6ea98a10b587c9df59c42b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Security for polygon-mcp-server 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page