Palantir MCP provides tools for working with Foundry resources, data, code, and documentation. The tables below list the tools and their availability in local development and Code Workspaces.
The Local development column applies to Palantir MCP running on your machine. The Code Workspaces column applies to Palantir MCP running inside Foundry:
The repository-specific labels mean the following:
For setup and permissions, see installation and security.
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| list_resources_in_foundry_folder | Returns resources available in a given folder or project RID, with pagination support. | Yes | Yes |
| get_project_imports | Returns datasets and other resources imported into a Foundry project, including external resources such as Spark profiles, with pagination support. | Yes | Yes |
| list_foundry_namespaces | Lists all Foundry namespaces that you can access. | Yes | No |
| list_foundry_project_templates | Lists available project templates for a Foundry namespace. Templates define the initial structure and settings for new projects. | Yes | No |
| create_foundry_project | Creates a new Foundry project in a specified namespace using a specified template. | Yes | No |
| search_foundry_projects | Searches for Foundry projects by name or description. Returns matching projects with their RID, name, description, and path. | Yes | No |
| search_foundry_resources | Searches for datasets, folders, code repositories, and other resources by name, description, or path. Supports filtering by resource type, project, or namespace. Use search_foundry_projects to find projects. | Yes | No |
| move_foundry_resources | Moves resources into another folder within the same project. Does not support moving projects or moving resources between projects. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_foundry_dataset_schema | Returns the definition of a Palantir dataset for a given dataset RID or dataset path, including schema information. | Yes | Yes |
| run_sql_query_on_foundry_dataset | Returns the result of running a SQL query on a Palantir dataset on an optional branch. | Yes | Yes |
| create_and_write_to_foundry_dataset | Creates a dataset in Foundry with data provided from a CSV file, useful for uploading local data or creating mock data. | Yes | Yes |
| list_dataset_files | Lists the files in a Foundry dataset for a given dataset RID or dataset path. Useful for exploring datasets without a schema. | Yes | Yes |
| build_datasets | Builds datasets in Python transforms repositories. Commit and push changes before submitting a build. | Yes | Python transforms |
| get_build_status | Returns the build status of CI checks or dataset builds. Supports checking by build RID, tag, or branch. | Yes | Yes |
| search_dataset_builds | Searches for historic builds based on criteria such as dataset RIDs, build statuses, branches, and time ranges. | Yes | Yes |
| get_job_status | Retrieves detailed status information for a specific job by job RID, including error messages and source code information. | Yes | Yes |
| get_dataset_stats | Returns size and file statistics for a Foundry dataset, including total size, number of files, hidden files, and number of transactions. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_media_set | Returns a media set's configuration, including its primary media schema and additional allowed input formats. | Yes | Yes |
| get_media_item_metadata | Returns structural metadata for a media item, such as its format, dimensions, duration, or page count, without returning the file content. | Yes | Yes |
| list_media_items | Lists media items with their RIDs, paths, MIME types, and retention-expiration timestamps, with pagination support. | Yes | Yes |
| add_media_set_allowed_input_schema | Adds an allowed input format to a media set so it accepts uploads in that format. | Yes | No |
| remove_media_set_allowed_input_schema | Removes an additional allowed input format from a media set. Existing media items are unaffected. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| manage_health_check | Creates, updates, or deletes health checks on Foundry datasets. | Yes | Yes |
| get_health_check_info | Lists health checks, retrieves their configurations and latest reports, and discovers which datasets have checks configured. | Yes | Yes |
| get_available_check_types | Lists available health check types and their supported validations. | Yes | Yes |
| manage_check_group | Creates or updates health check groups and manages check membership in groups and monitoring views. | Yes | Yes |
| get_check_group_info | Lists accessible health check groups or retrieves a group's checks, notification schedule, and configuration. | Yes | Yes |
| manage_check_state | Pauses or resumes health checks, or retrieves their pause status. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_resource_graph | Returns the resource graph for data lineage visualization. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_foundry_ontology_rid | Fetches the ontology RID for a given Foundry OSDK application or local repository. | Yes | System prompt |
| search_foundry_ontology | Searches the Ontology for relevant entities for a given query. | Yes | Yes |
| search_foundry_functions | Searches the function registry for functions matching a query. | Yes | Yes |
| view_foundry_object_type | Displays an existing object type in the Ontology, including its properties, link types, and action types. | Yes | Yes |
| create_or_update_foundry_object_type | Creates or updates object types in the Ontology on a provided branch. | Yes | Yes |
| delete_foundry_object_type | Deletes an object type from the Ontology on a provided branch. | Yes | Yes |
| view_foundry_link_type | Displays an existing link type in the Ontology. | Yes | Yes |
| create_or_update_foundry_link_type | Creates or updates link types in the Ontology on a provided branch. | Yes | Yes |
| delete_foundry_link_type | Deletes a link type from the Ontology on a provided branch. | Yes | Yes |
| view_foundry_action_type | Displays an existing action type in the Ontology, including its parameters, logic rules, and dependent object types. | Yes | Yes |
| create_or_update_foundry_action_type | Creates or updates action types in the Ontology on a provided branch. Supports object modifications, deletions, and link operations. | Yes | Yes |
| delete_foundry_action_type | Deletes an action type from the Ontology on a provided branch. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| query_ontology_objects | Queries ontology objects based on specified criteria with pagination support. | Yes | No |
| aggregate_ontology_objects | Performs aggregation functions on object fields, supporting grouping, filtering, and multiple aggregation types. | Yes | No |
| semantic_search | Finds ontology objects similar to a natural-language query using a vector embedding property and its configured embedding model. Returns matches ordered by similarity. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_ontology_sdk_context | Fetches curated documentation about the Ontology SDK for your OSDK repository. | Yes | System prompt |
| get_ontology_sdk_examples | Retrieves code examples for using the Ontology SDK, filtered by SDK version and topic. | Yes | Yes |
| create_or_update_ontology_sdk_version | Creates or updates an OSDK by publishing a new version with the specified ontology entities. Supports Developer Console applications and standalone SDK packages. | Yes | Yes |
| install_sdk_package | Checks SDK package generation status and provides installation instructions when ready. Supports Developer Console applications and standalone SDK packages. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| list_platform_sdk_apis | Lists available Platform SDK APIs for a given Foundry product. | Yes | Yes |
| get_platform_sdk_api_reference | Gets API reference documentation and code examples for Platform SDK API endpoints. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_repository_context | Fetches curated context about the current Foundry code repository, including project and ontology information. | Yes | Yes; system prompt |
| create_python_transforms_code_repository | Creates a new Python transforms code repository. | Yes | No |
| clone_code_repository_locally | Clones an existing Foundry code repository to a local directory. | Yes | No |
| create_code_repository_pull_request | Creates a pull request in a Foundry code repository. | Yes | Yes |
| list_code_repository_pull_requests | Lists pull requests for a Foundry code repository with filtering by status, branch, author, and title. | Yes | Yes |
| get_code_repository_pull_request | Gets pull request details, including review status, CI build status, file changes, and comments. | Yes | Yes |
| create_code_repository_pull_request_comment | Creates a comment on a Foundry code repository pull request. Supports general comments and inline comments anchored to a specific file and line. | Yes | Yes |
| publish_function | Prepares a release of a function or pro-code agent repository by selecting a semantic version and returning Git commands to create and push the release tag. Requires a clean working tree; publication completes through CI after the commands run. | Yes | Function and agent repositories |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_foundry_environment_declared_data_scope | Lists dataset, table, and restricted-view aliases declared for the current workspace, with import snippets where supported. Does not enumerate OSDK data scope. | No | Jupyter and RStudio |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| create_global_branch | Creates a new global branch with a specified display name and description. | Yes | Yes |
| view_global_branch | Displays an existing global branch, including branched resources and ontology modifications. | Yes | Yes |
| close_global_branch | Closes an existing global branch. | Yes | Yes |
| create_global_proposal | Creates a proposal for changes on a global branch. | Yes | Yes |
| view_global_proposal | Displays an existing proposal and contextual information based on its status. | Yes | Yes |
| close_global_proposal | Closes an existing proposal without merging it. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| connect_to_dev_console_app | Connects a non-Foundry Git repository to a Developer Console application. | Yes | No |
| convert_to_osdk_react | Converts an existing OSDK application to use @osdk/react with OsdkProvider2 and optionally @osdk/react-components. | Yes | Yes |
| view_osdk_definition | Fetches a high-level overview of the OSDK definition, including object types, link types, action types, and functions. | Yes | Yes |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_compute_modules_documentation | Fetches curated documentation about compute modules and the compute_modules Python SDK. | Yes | Python compute modules |
| get_compute_modules_info | Gets status and configuration for a compute module, including runtime status, scaling configuration, and runtime parameters. | Yes | No |
| get_compute_modules_logs | Retrieves the latest logs for a compute module by build job RID, with pagination support. | Yes | No |
| manage_compute_modules | Manages a compute module lifecycle: start, stop, or configure development mode for automatic upgrades. | Yes | No |
| execute_compute_modules_function | Executes a compute module function synchronously. Only works with compute modules running in FUNCTION mode. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| create_foundry_rest_api_data_source | Creates a REST API data source connection in Foundry for integrating with external systems. | Yes | No |
| create_foundry_rest_api_data_source_webhook | Creates a webhook for a REST API data source in Foundry. | Yes | No |
| update_foundry_rest_api_data_source_webhook | Updates an existing webhook in Foundry by publishing a new version with an updated specification. | Yes | No |
| view_foundry_rest_api_data_source_webhook | Fetches the latest version of an existing webhook in Foundry, including its metadata, specification, inputs, calls, and outputs. | Yes | No |
| get_or_create_network_egress_policy | Gets or creates a network egress policy in Foundry. Useful when creating REST API data sources and webhooks. | Yes | No |
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| get_python_transforms_documentation | Fetches curated documentation about Python transforms and the transforms.api SDK. | Yes | Python transforms; system prompt |
| get_typescript_v1_functions_documentation | Retrieves documentation and code snippets for TypeScript v1 function repositories. | Yes | System prompt |
| get_typescript_v2_functions_documentation | Retrieves documentation and code snippets for TypeScript v2 function repositories. | Yes | System prompt |
| get_custom_widget_documentation | Gets documentation for custom widgets, including React widgets for Workshop and Slate. | Yes | System prompt |
| get_ml_documentation | Fetches ML documentation for Python transforms, covering model training, MLOps, and framework-specific patterns. | Yes | Python transforms; system prompt |
| get_spark_profile_documentation | Fetches documentation on Spark profile configuration for Python transforms, including guidance for selecting executor memory, number of executors, and driver settings. | Yes | Python transforms |
| get_osdk_react_components_documentation | Gets documentation for the @osdk/react-components library, including ObjectTable and other pre-built components. | Yes | Yes |
| load_foundry_documentation_page | Loads a full Palantir Foundry documentation page by its path and returns the complete page content in Markdown format. | Yes | Yes |
| get_documentation_summaries | Retrieves a curated documentation summary bundle for a specific Foundry topic area, covering key concepts, patterns, and reference material. | Yes | Yes |
| search_foundry_documentation | Searches Palantir Foundry platform documentation indices for relevant context snippets for a given query. Requires AIP. | Yes | Yes |
The search_tools tool is registered separately from the other tools and is opt-in in both environments. When tool search is enabled, only search_tools is initially visible. It discovers and activates tools permitted by your environment and configuration; it does not enable local-only tools in Code Workspaces. Your MCP client must support dynamic tool-list updates.
| Tool name | Description | Local development | Code Workspaces |
|---|---|---|---|
| search_tools | Finds and activates tools for a specific task using a natural-language query. | Opt-in | Opt-in |