Skip to main content

Polygon MCP Server

MCP server for Polygon API (Codeforces Polygon).

Requirements

  • Python 3.10+
  • polygon_api==1.1.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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polygon_mcp_server-0.2.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polygon_mcp_server-0.2.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file polygon_mcp_server-0.2.1.tar.gz.

File metadata

  • Download URL: polygon_mcp_server-0.2.1.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.21

File hashes

Hashes for polygon_mcp_server-0.2.1.tar.gz
Algorithm Hash digest
SHA256 873ddf86ff1582fcb40f8220f089abe11e61ad84cba9a6ea80203c26589adff7
MD5 a498b91cfe9b8c8771a618f6a77a175b
BLAKE2b-256 ed31195a8b60679ed4a04cb4b0ba1f404ea989f6e980ee8d59bcca2ccf5dd9ad

See more details on using hashes here.

File details

Details for the file polygon_mcp_server-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for polygon_mcp_server-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95ff773094c465f34b14ddebdd6dedecb7e6270eafc8c0ed2d95129a7d414256
MD5 7885c1ec39caab8c4743f6859f2d744c
BLAKE2b-256 50e39deae2f5126ab8ecffafe611f7c9df82978c072534aff42288e86129db4c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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