You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> :test_tube: This project is experimental and could be subject to breaking changes.
14
+
1
15
# Polygon.io MCP Server
2
16
3
17
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that provides access to [Polygon.io](https://polygon.io) financial market data API through an LLM-friendly interface.
@@ -19,26 +33,55 @@ This server exposes all Polygon.io API endpoints as MCP tools, providing access
19
33
### Prerequisites
20
34
21
35
- Python 3.8+
22
-
- A Polygon.io API key ([Get one here](https://polygon.io))
- For existing installs, check that you have a version that supports the `uvx` command.
23
39
24
-
### Direct Installation
40
+
### Claude Code
25
41
26
-
```bash
27
-
# Install dependencies
28
-
uv sync
29
-
30
-
# Run the server
31
-
POLYGON_API_KEY=your_api_key_here uv run mcp_polygon
32
-
```
33
-
34
-
### Integration with Claude
35
-
36
-
For Claude users, you can add the Polygon MCP server:
42
+
Use the following command to add the Polygon MCP server to your local environment.
37
43
38
44
```bash
39
45
# Claude CLI
40
46
claude mcp add polygon -e POLYGON_API_KEY=your_api_key_here -- uv run /path/to/mcp_polygon/entrypoint.py
41
47
```
48
+
This command will install the MCP server in your current project.
49
+
If you want to install it globally, you can run the command with `-s <scope>` flag.
50
+
See `claude mcp add --help` for more options.
51
+
52
+
You can also run `claude mcp add-from-claude-desktop` if the MCP server is installed already for Claude Desktop.
53
+
54
+
### Claude Desktop
55
+
56
+
1. Follow the [Claude Desktop MCP installation instructions](https://modelcontextprotocol.io/quickstart/user) to complete the initial installation and find your configuration file.
57
+
1. Use the following example as reference to add Polygon's MCP server.
58
+
Make sure you complete the various fields.
59
+
1. Path find your path to `uvx`, run `which uvx` in your terminal.
60
+
2. Replace `<your_api_key_here>` with your actual Polygon.io API key.
61
+
3. Replace `<your_home_directory>` with your home directory path, e.g., `/home/username` (Mac/Linux) or `C:\Users\username` (Windows).
0 commit comments