René's URL Explorer Experiment


Title: [FR] Add timeframe/temporal query parameters to MCP tools for trend analysis · Issue #511 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: [FR] Add timeframe/temporal query parameters to MCP tools for trend analysis · Issue #511 · sourcebot-dev/sourcebot

X Title: [FR] Add timeframe/temporal query parameters to MCP tools for trend analysis · Issue #511 · sourcebot-dev/sourcebot

Description: Problem Statement Currently, Sourcebot's MCP tools (search_code, list_repos, get_file_source) only provide access to the current state of the codebase. This limitation prevents AI language models from performing meaningful temporal analy...

Open Graph Description: Problem Statement Currently, Sourcebot's MCP tools (search_code, list_repos, get_file_source) only provide access to the current state of the codebase. This limitation prevents AI language models f...

X Description: Problem Statement Currently, Sourcebot's MCP tools (search_code, list_repos, get_file_source) only provide access to the current state of the codebase. This limitation prevents AI language mode...

Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/511

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FR] Add timeframe/temporal query parameters to MCP tools for trend analysis","articleBody":"## Problem Statement\n\nCurrently, Sourcebot's MCP tools (`search_code`, `list_repos`, `get_file_source`) only provide access to the current state of the codebase. This limitation prevents AI language models from performing meaningful temporal analysis, trend reporting, or historical insights when using the Sourcebot MCP server.\n\n## Use Case\n\nWhen LLMs attempt to analyze code evolution, track changes over time, or provide trend analysis, they are unable to do so effectively because the MCP tools lack timeframe filtering capabilities. This results in responses like \"I cannot analyze trends over time with the available tools\" or incomplete analysis based only on current code state.\n\n### Real-World Examples:\n- **Trend Analysis**: \"Show me how the usage of async/await has evolved in our codebase over the last year\"\n- **Historical Search**: \"Find all instances where deprecated function X was removed between March and June\"\n- **Evolution Tracking**: \"Compare the error handling patterns used 6 months ago vs today\"\n- **Regression Analysis**: \"Identify when specific security patterns were introduced across repositories\"\n\n## Proposed Solution\n\nAdd temporal/timeframe parameters to existing MCP tools to enable time-based querying:\n\n### Enhanced `search_code` Tool\nAdd optional parameters:\n```typescript\n{\n  since?: string;          // ISO date string (e.g., \"2024-01-01\")\n  until?: string;          // ISO date string (e.g., \"2024-12-31\")\n  dateRange?: string;      // Relative range (e.g., \"last-3-months\", \"last-year\")\n  gitRevision?: string;    // Specific commit/tag/branch\n  compareRevisions?: {     // Compare between two points in time\n    from: string;\n    to: string;\n  };\n  includeDeletedFiles?: boolean; // Include files that were deleted in timeframe\n}\n```\n\n### Enhanced `list_repos` Tool\nAdd repository filtering by activity timeframe:\n```typescript\n{\n  activeAfter?: string;    // Only repos with commits after this date\n  activeBefore?: string;   // Only repos with commits before this date\n}\n```\n\n### New `search_commits` Tool\n```typescript\n{\n  query: string;           // Search in commit messages, authors, changes\n  since?: string;\n  until?: string;\n  author?: string;\n  repository?: string[];\n}\n```\n\n## Technical Implementation Considerations\n\n1. **Git Integration**: Leverage git log with `--since`, `--until`, `--author` flags\n2. **Zoekt Enhancement**: Extend Zoekt indexing to include commit metadata and timestamps\n3. **API Compatibility**: Maintain backward compatibility by making all new parameters optional\n4. **Performance**: Consider caching mechanisms for frequently requested time ranges\n5. **Date Formats**: Support both absolute (ISO 8601) and relative dates (\"1 week ago\", \"last month\")\n\n## Benefits\n\n- **Enhanced AI Analysis**: Enable LLMs to provide comprehensive temporal insights and trend analysis\n- **Historical Context**: Allow developers to understand code evolution and decision history\n- **Compliance \u0026 Auditing**: Support regulatory requirements for tracking code changes over time\n- **Research Capabilities**: Enable academic and organizational research on codebase evolution\n- **Debugging**: Help identify when bugs or issues were introduced\n\n## Related Issues\n\nThis request complements issue #22 \"FR: Ability to query for configuration in repositories over time\" but focuses specifically on enhancing the MCP interface for broader temporal querying capabilities.\n\n## Community Impact\n\nThis feature would make Sourcebot's MCP integration significantly more powerful for AI-assisted development workflows, positioning it as a leader in temporal code analysis capabilities. Many organizations need this functionality for compliance, research, and advanced AI-powered insights.\n\n## Alternative Approaches Considered\n\n1. **Client-side Git Integration**: Less efficient and requires additional tooling\n2. **Separate Temporal API**: Would fragment the interface and require additional complexity\n3. **External Time-series Database**: Overkill for this use case and adds infrastructure complexity\n\nThe proposed approach of enhancing existing MCP tools provides the most seamless integration with current workflows while enabling powerful new capabilities.","author":{"url":"https://github.com/waynesun09","@type":"Person","name":"waynesun09"},"datePublished":"2025-09-17T16:53:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/511/sourcebot/issues/511"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0d2db1ee-2621-19af-e769-5d65abbed206
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB48E:310BDB:338BF2F:470611A:6A4F323A
html-safe-nonce2aba1ed8910cc049e18bf294b8a8f41d60cf0e79d0f7882de1a3f137a5654b10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDhFOjMxMEJEQjozMzhCRjJGOjQ3MDYxMUE6NkE0RjMyM0EiLCJ2aXNpdG9yX2lkIjoiNjk3MDUyNzcwMTc5MTYxNzU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac140053e3943ff60bc19432868aff6ad9c5738611dfc7fbcb9a005825ce78317b
hovercard-subject-tagissue:3427075313
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/511/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6048f1ee67f99a1edc748861efff57bda822f235ad9d2990856136cd91ca9fcd/sourcebot-dev/sourcebot/issues/511
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6048f1ee67f99a1edc748861efff57bda822f235ad9d2990856136cd91ca9fcd/sourcebot-dev/sourcebot/issues/511
og:image:altProblem Statement Currently, Sourcebot's MCP tools (search_code, list_repos, get_file_source) only provide access to the current state of the codebase. This limitation prevents AI language models f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaynesun09
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git
octolytics-dimension-user_id135396723
octolytics-dimension-user_loginsourcebot-dev
octolytics-dimension-repository_id846729675
octolytics-dimension-repository_nwosourcebot-dev/sourcebot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id846729675
octolytics-dimension-repository_network_root_nwosourcebot-dev/sourcebot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/issues/511#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F511
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F511
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sourcebot-dev%2Fsourcebot
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/511
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/511
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/511
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/issues/511
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 318 https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Star 3.6k https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Code https://github.com/sourcebot-dev/sourcebot
Issues 92 https://github.com/sourcebot-dev/sourcebot/issues
Pull requests 37 https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality 0 https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
Code https://github.com/sourcebot-dev/sourcebot
Issues https://github.com/sourcebot-dev/sourcebot/issues
Pull requests https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
#625https://github.com/sourcebot-dev/sourcebot/pull/625
[FR] Add timeframe/temporal query parameters to MCP tools for trend analysishttps://github.com/sourcebot-dev/sourcebot/issues/511#top
#625https://github.com/sourcebot-dev/sourcebot/pull/625
https://github.com/brendan-kellam
https://github.com/waynesun09
waynesun09https://github.com/waynesun09
on Sep 17, 2025https://github.com/sourcebot-dev/sourcebot/issues/511#issue-3427075313
#22https://github.com/sourcebot-dev/sourcebot/issues/22
brendan-kellamhttps://github.com/brendan-kellam
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.