feat: add GitHub pricing tools (github_pricing + github_cost_estimate)#32
Merged
msftnadavbh merged 4 commits intomainfrom Mar 3, 2026
Merged
feat: add GitHub pricing tools (github_pricing + github_cost_estimate)#32msftnadavbh merged 4 commits intomainfrom
msftnadavbh merged 4 commits intomainfrom
Conversation
Add two new MCP tools for GitHub product pricing: - github_pricing: Full catalog lookup for Plans, Copilot, Actions runners, Advanced Security (GHAS), Codespaces, Git LFS, and Packages - github_cost_estimate: Monthly/annual cost estimation based on team size and usage (seats, Copilot licenses, Actions minutes, Codespaces, LFS, GHAS) Static pricing table verified against github.com/pricing — no API calls or authentication required. Natural-language aliases supported (e.g., 'ci/cd' → Actions, 'pair programmer' → Copilot). Follows the Databricks package pattern: config constants, service class, handlers mixin, formatters, tool definitions, and 47 new tests. Total tools: 15 (was 13). All 235 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new MCP tools for GitHub product pricing, bringing the total tool count from 13 to 15.
New Tools
github_pricinggithub_cost_estimateKey Design Decisions
config.pywith aGITHUB_PRICING_DATA_VERSIONstamp (2026-03-03)ci/cd→ Actions,pair programmer→ Copilot,ghas→ SecurityFiles Changed (14)
New (6):
src/azure_pricing_mcp/services/github_pricing.py—GitHubPricingServicewithget_pricing()+estimate_cost()src/azure_pricing_mcp/github_pricing/__init__.py— package exportssrc/azure_pricing_mcp/github_pricing/tools.py— tool definitionssrc/azure_pricing_mcp/github_pricing/handlers.py—GitHubPricingHandlersmixinsrc/azure_pricing_mcp/github_pricing/formatters.py— Markdown formatterstests/test_github_pricing.py— 47 testsModified (8):
src/azure_pricing_mcp/config.py— static pricing tables (Plans, Copilot, Actions, Security, Add-ons, aliases)src/azure_pricing_mcp/services/__init__.py— exportGitHubPricingServicesrc/azure_pricing_mcp/tools.py— append GitHub tool definitionssrc/azure_pricing_mcp/handlers.py— addGitHubPricingHandlersto mixin chain + dispatchsrc/azure_pricing_mcp/server.py— dispatch routesdocs/TOOLS.md— new section, tool count 13 → 15docs/FEATURES.md— new GitHub Pricing Tools feature sectionCHANGELOG.md— v3.5.0 entryTesting
All 235 tests pass (188 existing + 47 new):