Prolific Mcp Server

by prolific-oss

152 downloads
Not rated
GitHub

About

A Model Context Protocol server bridging LLM agents to the Prolific public API. Built with FastMCP.

Details

Author
prolific-oss
Downloads
152
Categories
Other

- Bridges LLM agents to the Prolific public API.
- Exposes tools such as get_filters, create_filter_set, publish_study, and more.
- Supports stdio and streamable HTTP transports.
- Configurable via environment variables PROLIFIC_TOKEN and PROLIFIC_URL.
- Published as a .mcpb bundle for easy installation in Claude Desktop.
- No sandbox mode – publish_study spends real money on participants.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Prolific Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install and run using uvx prolific-mcp or from a local checkout with uv run prolific-mcp. Set the PROLIFIC_TOKEN environment variable with a Prolific API token. The server defaults to stdio but can also run over streamable HTTP using the --http flag, with optional --host / --port overrides. Most MCP clients accept the standard command / args / env configuration.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "prolific mcp server": {
            "prolific": {
                "command": "uvx",
                "args": [
                    "prolific-mcp"
                ],
                "env": {
                    "PROLIFIC_TOKEN": "your_token_here"
                }
            }
        }
    }
}

McpServers

{
    "prolific": {
        "command": "uvx",
        "args": [
            "prolific-mcp"
        ],
        "env": {
            "PROLIFIC_TOKEN": "your_token_here"
        }
    }
}

prolific-mcp

CI
Known Vulnerabilities

A Model Context Protocol server bridging LLM agents to the Prolific public API. Built with FastMCP.

Listed on the official MCP Registry — discoverable from Claude Desktop, Cursor, Claude Code, and other MCP-aware clients.

> [!WARNING]
> publish_study spends real money. Once a study is published on Prolific, participants can start it immediately and you are charged for their work. Treat any LLM-driven invocation as a real spend: review the study draft and reward before approving the tool call. There is no sandbox mode — the same endpoint is used in production.

What it does

Exposes a small set of tools so an LLM can help a researcher design and launch a study on Prolific:

| Tool | Prolific endpoint |
|---|---|
| get_filters | GET /api/v1/filters/ |
| get_filter_sets | GET /api/v1/filter-sets/ |
| create_filter_set | POST /api/v1/filter-sets/ |
| get_eligibility_count | POST /api/v1/eligibility-count/ |
| list_workspaces | GET /api/v1/workspaces/ |
| list_projects | GET /api/v1/workspaces/{workspace_id}/projects/ |
| list_studies | GET /api/v1/studies/ |
| view_study | GET /api/v1/studies/{id}/ |
| create_study | POST /api/v1/studies/ |
| publish_study | POST /api/v1/studies/{id}/transition/ |

Requirements

- Python 3.11+
- A Prolific API token (create one at <https://app.prolific.com>)

Quickstart

Install and run from PyPI with uv:

export PROLIFIC_TOKEN=your_token_here
uvx prolific-mcp

Or from a checkout:

uv sync
export PROLIFIC_TOKEN=your_token_here
uv run prolific-mcp

The server defaults to stdio and is intended to be launched by an MCP client (Claude Desktop, Cursor, etc.).

Local development (HTTP mode)

Stdio gives the client ownership of the process, which hides server logs. For local iteration, run over streamable HTTP instead so logs stream to your terminal:

```bash
PROLIFIC_TOKEN=your_token_here uv run prolific-mcp --http

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.