developer-toolsapi_key

PredictHQ

PredictHQ provides event intelligence, demand forecasting, and location analytics APIs for anticipating changes in demand.

Integration

Vendor
PredictHQ
Category
developer-tools
Auth
API_KEY
Tools
50
Composio slug
predicthq

Tools

  • Calculate Event Features

    Calculate one page of daily or weekly ML-ready event features for a required date range using either a Beam analysis or a manually configured location and feature set.

  • Count Broadcasts

    Return the total number of PredictHQ broadcast records matching optional broadcast, schedule, date, viewership, location, and event filters, without returning result records.

  • Count Events

    Get aggregate event counts by category, label, rank level, and the same date, location, rank, attendance, spend, and event filters supported by search.

  • Create Beam Analysis

    Create a Beam analysis that correlates an owned location's events with uploaded demand data.

  • Create Beam Analysis Group

    Create a Beam analysis group that aggregates feature importance across compatible analyses.

  • Create Forecast Model

    Create a forecast model for a Saved Location. After creation, upload historical demand data and trigger model training with the corresponding Forecasts actions.

  • Create Loop Link

    Create a hosted Loop link for end users to submit missing events or event feedback, and return both shareable URLs. An empty body creates a default-named active link.

  • Create Saved Location

    Create a reusable PredictHQ Saved Location from an exact business point, a custom GeoJSON area, or Geonames place IDs.

  • Create Saved Location Closure

    Create a closure period for a PredictHQ Saved Location. The date range must not overlap an existing closure for the location.

  • Create Saved Location Opening Hours

    Create opening hours for a Saved Location. The effective date range must not overlap another opening-hours record for the same location.

  • Delete Beam Analysis
    destructive

    Soft-delete a Beam Analysis. The analysis remains retrievable when filtering for deleted analyses, and containing Analysis Groups are refreshed automatically.

  • Delete Beam Analysis Group
    destructive

    Delete an existing Beam Analysis Group without deleting the individual analyses in the group.

  • Delete Forecast Model
    destructive

    Permanently deletes a forecast model and all associated demand data and forecasts. The model must not be in `preparing`, `training`, or `forecasting` status. This action is irreversible.

  • Delete Loop Link
    destructive

    Soft-delete a Loop link. The record remains retrievable with `status=deleted`.

  • Delete Saved Location
    destructive

    Permanently delete a Saved Location and all of its associated insights data. This action is irreversible.

  • Delete Saved Location Closure
    destructive

    Delete a closure by ID from the specified PredictHQ Saved Location. This action is irreversible.

  • Delete Saved Location Opening Hours
    destructive

    Delete an opening hours record by ID from the specified PredictHQ Saved Location. This action is irreversible.

  • Get Beam Analysis

    Return the full details of one Beam Analysis, including its location, demand type, rank, readiness status, and processing state.

  • Get Beam Analysis Feature Importance

    Return the Beam feature groups whose statistical significance indicates how strongly they affect an analysis's demand, including the Features API fields recommended for forecasting models.

  • Get Beam Analysis Group

    Return the full details of one Beam Analysis Group, including its member analyses, demand type, readiness status, and processing state.

  • Get Beam Analysis Group Feature Importance

    Return feature-importance results aggregated across the analyses in an existing Beam Analysis Group, including each feature group's Features API fields and p-value.

  • Get Demand Surges

    Return dates with at least the requested demand-surge intensity for a required date and location, including summed predicted attendance.

  • Get Forecast Model

    Retrieves a forecast model by ID, including its readiness status, configuration, accuracy metrics, and location details.

  • Get Loop Link

    Return one Loop Link, including its status, metadata, expiry, and hosted event-submission and event-feedback URLs.

  • Get Loop Settings

    Return the organization name displayed in the hosted Loop interface.

  • Get Predicted Impact Area

    Calculate a polygonal or radial Predicted Impact Area for a business location and industry, returned as GeoJSON.

  • Get Saved Location

    Retrieve a Saved Location by ID, including its geometry, enrichment status, labels, resolved places, summary insights, opening hours, and closures.

  • Get Saved Location Closure

    Return a single closure by ID for the specified Saved Location.

  • Get Saved Location Opening Hours

    Return one opening hours record by its ID for a specified PredictHQ Saved Location.

  • List Beam Analyses

    Return one page of Beam Analyses, with filters for lifecycle state, readiness, groups, demand type, location, labels, update date, and name.

  • List Beam Analysis Correlation Results

    Return one page of results correlating PredictHQ event data with an analysis's transactional demand data for a required lower and upper date bound.

  • List Beam Analysis Groups

    Return one page of Beam Analysis Groups, optionally filtered by update date, name, lifecycle state, readiness, demand interval, or industry.

  • List Forecast Algorithms

    Returns the list of available forecasting algorithms. Currently one algorithm is offered (`phq-xgboost`) based on XGBoost.

  • List Forecast Model Demand

    Return one page of demand data uploaded to a forecast model, optionally filtered by date, as JSON, CSV, or newline-delimited JSON.

  • List Forecast Models

    Return one page of forecast models belonging to the authenticated organization, optionally filtered by text, Saved Location, or readiness status.

  • List Loop Event Submissions

    Return one page of Loop-submitted events matching link, event, user, review, state, category, location, and date filters.

  • List Loop Feedback Conversations

    Return one page of Loop feedback conversations matching record, link, user, feedback type, status, text, and date filters.

  • List Loop Links

    Return one page of hosted Loop links matching text, link, user, and sort filters.

  • List Model Forecast Results

    Return one page of generated forecast results for a trained model, optionally filtered by date and enriched with features or event explainability.

  • List Place Hierarchies

    Return one page of administrative hierarchy chains resolved from either place IDs or coordinates.

  • List Saved Location Closures

    Return one page of closure records for a PredictHQ Saved Location, optionally filtered by the dates on which the records are active.

  • List Saved Location Insight Events

    Return one page of events that impact a specified PredictHQ Saved Location.

  • List Saved Location Opening Hours

    Return one page of opening-hours records for a Saved Location, optionally filtered by the dates on which the records are active.

  • List Saved Locations

    Search and return one page of Saved Locations, including reusable location IDs, geographic definitions, enrichment state, and summary insights.

  • Refresh Beam Analysis

    Rerun correlation and analysis processing for an existing Beam Analysis. The analysis readiness status becomes pending until processing completes; the request fails if the analysis is already being processed.

  • Refresh Beam Analysis Group

    Rerun aggregation for an existing Beam Analysis Group. The group's readiness status becomes pending until processing completes; the request fails if the group is already being processed.

  • Replace Beam Analysis

    Fully replace an existing Beam analysis using PUT. Retrieve the current analysis first and include every value that must be preserved; omitted optional fields may be lost. Use the partial-update action for PATCH semantics.

  • Replace Beam Analysis Group

    Fully replace an existing Beam analysis group using PUT. Retrieve the current group first and include all values that must be preserved; use the partial-update action when omitted fields should remain unchanged.

  • Replace Forecast Model

    Fully replace an existing forecast model's mutable configuration. This is the PUT replacement operation, not the partial PATCH update. Configuration changes may make the model stale and require retraining, and are blocked while it is prepar

  • Replace Loop Link

    Fully replace the mutable name, expiry, and metadata of an existing PredictHQ Loop Link using PUT.

Setup

  1. Create or open a Switchy Project.
  2. Open Integrations and connect PredictHQ.
  3. Authorise through api_key. Switchy stores the connection against your org.
  4. Everyone in the Project can now @-mention the PredictHQ tools in chat.

What teammates see: by default, memories from PredictHQ are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Projects have used this MCP together with a given model.

How Switchy teams use it

Not enough Projects yet to publish anonymised usage stats (we require ≥ 50 Projects per week).

Starter prompts

Starter prompts for this model will land here soon.

More developer tools MCPs

See all developer tools MCPs →

Data last verified 12 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.