Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
PostHog
/
posthog-python
Public
Notifications
You must be signed in to change notification settings
Fork
80
Star
61
Code
Issues
3
Pull requests
10
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
feat(mcp): PostHog MCP analytics SDK for Python (posthog.mcp)
- #691
#691
Merged
lucasheriques
merged 16 commits into
main
PostHog/posthog-python:main
from
posthog-code/mcp-analytics-python-sdk
PostHog/posthog-python:posthog-code/mcp-analytics-python-sdk
Copy head branch name to clipboard
Jun 26, 2026
Conversation
Commits
16
(16)
Checks
Files changed
Merged
feat(mcp): PostHog MCP analytics SDK for Python (posthog.mcp)
#691
lucasheriques
merged 16 commits into
main
PostHog/posthog-python:main
from
posthog-code/mcp-analytics-python-sdk
PostHog/posthog-python:posthog-code/mcp-analytics-python-sdk
Copy head branch name to clipboard
Commits
Commits on Jun 22, 2026
feat(mcp): add MCP analytics SDK core pipeline (M1)
Show description for 5c15a90
lucasheriques
committed
5c15a90
View commit details
Copy full SHA for 5c15a90
Browse repository at this point
feat(mcp): FastMCP instrument() with intent, identity, lazy initialize (M2)
Show description for f6b18fa
lucasheriques
committed
f6b18fa
View commit details
Copy full SHA for f6b18fa
Browse repository at this point
docs(mcp): add dogfood demo example for the MCP analytics SDK
Show description for a27efb8
lucasheriques
committed
a27efb8
View commit details
Copy full SHA for a27efb8
Browse repository at this point
feat(mcp): low-level Server adapter + PostHogMCP custom-dispatcher (M3)
Show description for 00ee639
lucasheriques
committed
00ee639
View commit details
Copy full SHA for 00ee639
Browse repository at this point
feat(mcp): get_more_tools missing-capability + conversation_id (M4)
Show description for 5370112
lucasheriques
committed
5370112
View commit details
Copy full SHA for 5370112
Browse repository at this point
chore(mcp): add changeset for the Python MCP analytics SDK
Show description for bee082c
lucasheriques
committed
bee082c
View commit details
Copy full SHA for bee082c
Browse repository at this point
feat(mcp): support jlowin's standalone FastMCP 2.0 (fastmcp package)
Show description for 5e1d63b
lucasheriques
committed
5e1d63b
View commit details
Copy full SHA for 5e1d63b
Browse repository at this point
chore(mcp): regenerate public API snapshot for posthog.mcp
Show description for 6c01663
lucasheriques
committed
6c01663
View commit details
Copy full SHA for 6c01663
Browse repository at this point
fix(mcp): address review findings — isolation, event_properties, conversation_id, loop leak
Show description for d39928c
lucasheriques
committed
d39928c
View commit details
Copy full SHA for d39928c
Browse repository at this point
Commits on Jun 23, 2026
fix(mcp): address PR review — intent tool name, version comment, LICENSE, test dedup
Show description for 31c854a
lucasheriques
committed
31c854a
View commit details
Copy full SHA for 31c854a
Browse repository at this point
fix(mcp): address review — TS parity gaps, sync flush, conversation_id strip
Show description for 0d998ab
lucasheriques
committed
0d998ab
View commit details
Copy full SHA for 0d998ab
Browse repository at this point
fix(mcp): PostHogMCP works without the mcp SDK + canonical tracking key
Show description for 37280c2
lucasheriques
committed
37280c2
View commit details
Copy full SHA for 37280c2
Browse repository at this point
refactor(mcp): unify install to `pip install posthog`, treat mcp as a peer dep
Show description for f590c8c
lucasheriques
committed
f590c8c
View commit details
Copy full SHA for f590c8c
Browse repository at this point
Commits on Jun 25, 2026
fix(mcp): round 2 review — ruff format, v2 strip, empty-list, init identity, PostHogMCP toggle
Show description for d3fbf46
lucasheriques
committed
d3fbf46
View commit details
Copy full SHA for d3fbf46
Browse repository at this point
Commits on Jun 26, 2026
refactor(mcp): shrink public API surface — underscore internal modules
Show description for 61b604b
lucasheriques
committed
61b604b
View commit details
Copy full SHA for 61b604b
Browse repository at this point
test(mcp): cover truncation, conversation_id, intent, session, identity branches
Show description for bf90280
lucasheriques
committed
bf90280
View commit details
Copy full SHA for bf90280
Browse repository at this point
You can’t perform that action at this time.