Skip to main content

plurity-mcp

Unified MCP server for all Plurity services — Audit, Toll, and Intelligence — using a single API key.

Installation

uvx plurity-mcp

Or install permanently:

uv tool install plurity-mcp

Quick start

1. Get an API key

Log in to account.plurity.ai → Settings → API Keys → Create key. Grant the scopes for each service you want to use (audit, toll, intelligence).

2. Run the setup wizard

plurity-mcp-setup

The wizard validates your key and saves it to ~/.config/plurity/config.toml.

3. Add to your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "plurity": {
      "command": "uvx",
      "args": ["plurity-mcp"],
      "env": {
        "PLURITY_API_KEY": "plt_your_key_here"
      }
    }
  }
}

Configuration

Environment variables

Variable Default Description
PLURITY_API_KEY — Your plt_* API key (required)
PLURITY_ACCOUNTS_URL https://account.plurity.ai Override accounts API URL
PLURITY_AUDIT_URL https://audit.plurity.ai Override Audit API URL
PLURITY_TOLL_URL https://toll.plurity.ai Override Toll API URL
PLURITY_INTELLIGENCE_URL https://intelligence.plurity.ai Override Intelligence API URL
PLURITY_AUDIT_ENABLED true Set to false to disable Audit tools
PLURITY_TOLL_ENABLED true Set to false to disable Toll tools
PLURITY_INTELLIGENCE_ENABLED true Set to false to disable Intelligence tools

Config file (~/.config/plurity/config.toml)

[mcp]
api_key = "plt_..."
accounts_url = "https://account.plurity.ai"
audit_base_url = "https://audit.plurity.ai"
toll_base_url = "https://toll.plurity.ai"
intelligence_base_url = "https://intelligence.plurity.ai"
audit_enabled = true
toll_enabled = true
intelligence_enabled = true

Environment variables take precedence over the config file.

Service activation

On startup the server:

  1. Validates your API key against plurity-accounts
  2. Reads the key's scopes (e.g. ["audit", "toll"])
  3. Registers only the tools for services the key is scoped for
  4. Applies your *_ENABLED overrides — you can disable services the key has access to, but you cannot enable services the key lacks a scope for

If the key is invalid the server exits immediately with a clear error message visible in your MCP client.

Tools

Audit (GEO readiness)

Tool Description
submit_audit_scan Queue a URL for AI-readiness analysis
get_audit_scan Get scan status and results by ID
get_audit_scan_by_url Look up the latest scan for a URL
run_audit Submit and wait until complete (blocking)

Toll (agent traffic + llms.txt)

Tool Description
list_toll_sites List your sites/pages
create_toll_site Create a new site
get_toll_site Get site details (the site key is only ever returned by get_toll_installation_instructions)
update_toll_site Update name, domain, cache TTL, llms.txt mode
get_toll_installation_instructions Get integration code snippets for HTML/Next.js/React/GTM
list_toll_qa_pairs List Q&A pairs in a site's llms.txt
create_toll_qa_pair Add a Q&A entry to llms.txt
update_toll_qa_pair Edit a Q&A entry (or publish/unpublish it)
delete_toll_qa_pair Remove a Q&A entry
get_toll_traffic Agent traffic chart data (today/week/month/year)
list_toll_events Row-level events with UTM/host filters (visitor-identifying fields are redacted)
get_toll_llms_txt Fetch the currently served llms.txt body

Intelligence (question & topic monitoring)

Tool Description
list_intelligence_sources Browse the global source catalogue
list_subscribed_intelligence_sources List sources your org follows
subscribe_intelligence_source Subscribe to a source
unsubscribe_intelligence_source Unsubscribe from a source
request_intelligence_source Add a new source by URL (auto-subscribes)
list_intelligence_source_content List raw scraped documents
list_intelligence_qa_pairs Browse the Q&A feed with filters
approve_intelligence_qa_pair Move a Q&A pair into your knowledge base
skip_intelligence_qa_pair Dismiss a Q&A pair from the feed

Development

git clone https://github.com/plurity-oss/plurity-mcp
cd plurity-mcp
uv sync
uv run plurity-mcp-setup    # set up key
uv run plurity-mcp          # run locally

License

MIT

Metadata

Release files for plurity-mcp 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plurity-mcp 0.1.4
File Size Uploaded Provenance
plurity_mcp-0.1.4.tar.gz 21.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for plurity-mcp 0.1.4
File Interpreter ABI Platform
plurity_mcp-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 45.8 kB

Release files / plurity_mcp-0.1.4.tar.gz

Download URL plurity_mcp-0.1.4.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
963e89dd455614f4f25dc11968f8272eae2570f4764af2a77b7753b0c1d6732a
BLAKE2b-256 checksum
How to use checksums
875ec3ec7e6e2e434cd2850fb57637058c016593131bcc7cefa47adc12fd7b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release files / plurity_mcp-0.1.4-py3-none-any.whl

Download URL plurity_mcp-0.1.4-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c813a8d4e590fc3ca473f7a57a85b5e8885737b439a8714b7e1a36a316388fe3
BLAKE2b-256 checksum
How to use checksums
a86ef9c164d19c21a31fbbb854ade9e215facbfd59119bc4db3da067ae2af2af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Security for plurity-mcp 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plurity_mcp-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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