Skip to main content

MCP server for Codeforces Polygon API

Project description

Polygon MCP Server

MCP server for Polygon API (Codeforces Polygon).

Requirements

  • Python 3.10+
  • polygon_api==1.1.0a1

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)

Project details


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.1.1.tar.gz (9.6 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.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polygon_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for polygon_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2a5b28a069767a66c60400dcb4dfd458a0448c3b2b0e05387e31af8ba7221683
MD5 e8f32a6f2fd9e0aacad4d9cd42940f95
BLAKE2b-256 5ec134ee829de05d1adf98c04531429a69dab4d800f2091ff8801933a3d97c65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for polygon_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9cf666b9b8bf9f1bd810c5d4db299d3f5c96b3d14726b12f9b4f29130367c21
MD5 803d6206ab91ce84af77fc0e95f705ea
BLAKE2b-256 653c84596199c43c4ed98e711342ab7ae5c777cacabb8fd9d90e807388f13aad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page