Skip to main content

Pensero MCP Client

Query your engineering metrics from Claude Desktop using the Pensero MCP client.

What is this?

This is a lightweight client that connects Claude Desktop to your Pensero account, allowing you to:

  • Query pull requests, commits, and code reviews
  • Analyze team productivity and delivery metrics
  • Aggregate engineering data with natural language queries
  • Get insights from work items, tickets, and documents

Installation

uvx pensero-mcp-client

This will download and run the latest version without installing anything permanently.

Alternative: Install with pip

pip install pensero-mcp-client

Setup

Step 1: Get Your API Token

  1. Log in to Pensero
  2. Go to Settings → API Tokens
  3. Click Create New Token
  4. Give it a name (e.g., "Claude Desktop")
  5. Copy the token:secret pair (you'll only see this once!)

Step 2: Configure Claude Desktop

Edit your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "pensero": {
      "command": "uvx",
      "args": ["pensero-mcp-client"],
      "env": {
        "PENSERO_API_TOKEN": "tk_xxxxxxxxxxxxx:sk_xxxxxxxxxxxxx"
      }
    }
  }
}

Note: Using uvx automatically downloads and runs the latest version - no manual installation needed!

Replace tk_xxxxxxxxxxxxx:sk_xxxxxxxxxxxxx with your actual token from Step 1.

Step 3: Restart Claude Desktop

Quit and restart Claude Desktop for the configuration to take effect.

Usage

Once configured, you can ask Claude to query your Pensero data:

Example Queries

List available data:

"What data models are available in Pensero?"

Query pull requests:

"Show me all merged pull requests from last week"

Aggregate metrics:

"What's the average number of lines changed per PR by each developer this month?"

Complex queries:

"Find all open pull requests created by the Backend team, grouped by repository"

Team analytics:

"How many tickets did each team member complete this sprint?"

Troubleshooting

"PENSERO_API_TOKEN environment variable not set"

Make sure you've added the token to your Claude Desktop configuration and restarted Claude Desktop.

"Authentication failed"

  • Verify your token is correct
  • Check the token hasn't been revoked in Pensero settings
  • Ensure the token format is token:secret (with colon)

"Connection error"

"Rate limit exceeded"

You've made too many requests. The default limit is 1,000 requests per hour per user. Wait a few minutes and try again.

Server not starting

Check Claude Desktop logs:

  • macOS: ~/Library/Logs/Claude/mcp*.log
  • Windows: %APPDATA%\Claude\logs\mcp*.log

Available Models

The client provides access to these Pensero data models:

Git

  • GitPullRequest: Pull requests/merge requests with metadata, metrics, and state
  • GitPullRequestReview: Code reviews on pull requests
  • GitRepository: Git repositories tracked in Pensero
  • GitUser: Git users (developers contributing to repositories)

Ticketing

  • Ticket: Work tickets from issue tracking systems (Jira, Linear, etc.)
  • TicketingUser: Users from ticketing systems
  • TicketingRepository: Ticketing system integrations (Jira projects, Linear workspaces, etc.)

BOW (Bag of Work)

  • BowItem: Unified view of work across PRs, tickets, documents, commits
  • BowChunk: Chunks of work within BOW items
  • SuperChunk: Aggregated chunks representing larger work units

Documents

  • Document: Documents from Notion, Confluence, Google Drive
  • DocumentUser: Users from document systems
  • DocumentComment: Comments on documents

HR

  • OrganizationUser: Organization users (team members)
  • Team: Engineering teams
  • TeamMember: Team membership records

Security

  • Your API token is stored in Claude Desktop's configuration file
  • The client only makes HTTPS requests to Pensero
  • Tokens can be revoked at any time from Pensero settings
  • All queries respect your organization's permissions and data scoping

Support

License

MIT License - see LICENSE file for details.

Metadata

Release files for pensero-mcp-client 0.1.1

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

Source distribution (sdist)

Source distribution for pensero-mcp-client 0.1.1
File Size Uploaded Provenance Actions
pensero_mcp_client-0.1.1.tar.gz 66.1 kB Without provenance Details for pensero_mcp_client-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pensero-mcp-client 0.1.1
File Interpreter ABI Platform Actions
pensero_mcp_client-0.1.1-py3-none-any.whl Python 3 none any Details for pensero_mcp_client-0.1.1-py3-none-any.whl

Total release size: 73.3 kB

Release files / pensero_mcp_client-0.1.1.tar.gz

Download URL pensero_mcp_client-0.1.1.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33f21dc42fa8a26de0d29b1a6e9cf9bd0671f918ed4d294cf3e58035b2f50be7
BLAKE2b-256 checksum
How to use checksums
7b3344ecb5ecd47e6970ae34fe294373e5baba91dc64dc8ac1d4f2e850ac85b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / pensero_mcp_client-0.1.1-py3-none-any.whl

Download URL pensero_mcp_client-0.1.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eb1b55d8b13bbbf5c64cb4f1d16b19d587d67bbb4d60306979900148d74576b
BLAKE2b-256 checksum
How to use checksums
0eb9204aec561481c9dff6097252b8afac0601a3ba53dfaf877e1e72184d9b22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for pensero-mcp-client 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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