@@ -26,24 +26,7 @@ The server implements the following tools:
26
26
- Takes "name" and "content" as required string arguments
27
27
- Updates server state and notifies clients of resource changes
28
28
29
- 2 . Polygon.io Financial Data:
30
- - get-aggs: Gets aggregated stock data for a time period
31
- - Required parameters:
32
- - ticker: Stock ticker symbol (e.g., AAPL)
33
- - from_date: Start date in YYYY-MM-DD format
34
- - to_date: End date in YYYY-MM-DD format
35
- - Optional parameters:
36
- - multiplier: Size of the timespan multiplier (default: 1)
37
- - timespan: Size of the time window (minute, hour, day, week, month, quarter, year) (default: day)
38
- - limit: Number of results to return (default: 10)
39
-
40
- - get-trades: Gets historical trade data for a ticker on a specific date
41
- - Required parameters:
42
- - ticker: Stock ticker symbol (e.g., AAPL)
43
- - date: Date for trades in YYYY-MM-DD format
44
- - Optional parameters:
45
- - timestamp: Timestamp in Unix milliseconds format (default: 0)
46
- - limit: Number of results to return (default: 10)
29
+ 2 . All of the Polygon API endpoints supported by the python client.
47
30
48
31
## Configuration
49
32
@@ -63,41 +46,9 @@ export POLYGON_API_KEY="your_polygon_api_key_here"
63
46
64
47
### Install
65
48
66
- #### Claude Desktop
67
-
68
- On MacOS: ` ~/Library/Application\ Support/Claude/claude_desktop_config.json `
69
- On Windows: ` %APPDATA%/Claude/claude_desktop_config.json `
70
-
71
- <details >
72
- <summary >Development/Unpublished Servers Configuration</summary >
73
- ```
74
- "mcpServers": {
75
- "mcp_polygon": {
76
- "command": "uv",
77
- "args": [
78
- "--directory",
79
- "/path/to/mcp_polygon",
80
- "run",
81
- "mcp_polygon"
82
- ]
83
- }
84
- }
85
- ```
86
- </details >
87
-
88
- <details >
89
- <summary >Published Servers Configuration</summary >
90
- ```
91
- "mcpServers": {
92
- "mcp_polygon": {
93
- "command": "uvx",
94
- "args": [
95
- "mcp_polygon"
96
- ]
97
- }
98
- }
99
- ```
100
- </details >
49
+ #### Claude code
50
+
51
+ ` claude mcp add polygon -e POLYGON_API_KEY=$POLY_API_KEY -- uv run /path/to/mcp_polygon/entrypoint.py `
101
52
102
53
## Development
103
54
0 commit comments