Compare bill versions and find similar legislation
A deterministic diff between two versions of a bill's text and a list of related bills based on title similarity and shared text.
How it works
Read-onlyResearch and knowledge
The agent identifies the bill of interest and retrieves its record to find available versions. It uses compare_bill_versions to generate a deterministic diff between two specific versions, highlighting textual changes. Additionally, it uses find_similar_bills to locate related legislation based on title similarity and shared text content, helping to understand the broader legislative context or similar proposals.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Compare bill versions and find similar legislation
Find the bill 'HB 920' in North Carolina. Compare version 1 and version 2 of the bill text to show differences. Also, find similar bills based on title and shared text.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
compare_bill_versions Deterministic diff between two versions of a bill's text.MCP server setup | Bill Commons