npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sc-legislature-mcp

v0.2.0

Published

SC civic intelligence MCP: committee hearing videos, meeting schedules, floor calendars, status activity, committees, member details, plus representative lookup (state + federal) and bill search via Open States API

Readme

sc-legislature-mcp

SC civic intelligence MCP server — the legislative half of SC civic data. Covers who represents you (state + federal), what they're doing (bills, committees, sponsorships), and what's happening in the legislature (hearings, schedules, video archive).

The video archive is the killer feature — no other legislative data service (LegiScan, Open States, etc.) provides direct links to ~15,000 committee hearing and floor session recordings.

Designed as a complement to:

Tools (17)

Open States Tools (representation + legislation)

| Tool | Description | |------|-------------| | find_representatives | Address → state + federal reps (SC Senate/House + US Senators/Rep). Returns ocd_person_id for bill lookups. | | search_bills | Search SC bills by keyword, sponsor, subject, or date. 3,379 bills in current session. | | get_bill | Full bill detail: action history, sponsors, abstract. Accepts S 330, H1234, or ocd-bill/... UUID. | | get_legislator_bills | All bills sponsored by a legislator this session. Takes ocd_person_id. | | search_legislators | Find SC state legislators by name, district, or chamber. |

Video Tools

| Tool | Description | |------|-------------| | search_hearing_videos | Search video archives by committee, date range, chamber. Returns direct MP4 URLs. | | get_hearing_video | Get video URL and metadata for a specific meeting by key. | | get_committee_feed | Get RSS/podcast feed URLs for committee hearing videos. | | get_video_schedule | Get upcoming live broadcast schedule. |

Schedule & Activity Tools

| Tool | Description | |------|-------------| | get_meetings | Committee meeting schedule with agendas, bills, times, rooms. | | get_status_activity | Bill actions in a date range — "what happened this week." | | get_calendar | Daily floor calendar — bills scheduled for debate. | | get_new_introductions | Newly filed bills by date. |

Committee & Member Tools

| Tool | Description | |------|-------------| | list_committees | Standing committees with members, chairs, contact info. | | get_member_detail | Legislator profile: contact, photo, bio, committees, district map. | | find_legislator_by_address | Find SC state legislators by address (returns SC member codes for get_member_detail). | | get_county_delegation | County delegation roster (all state legislators for a county). |

Installation

npm install -g sc-legislature-mcp

Or use with Claude Code:

claude mcp add sc-legislature-mcp --env OPEN_STATES_API_KEY=your_key -- npx sc-legislature-mcp

Configuration

Required:

Optional:

  • SC_LEGISLATURE_USER_AGENT — Custom User-Agent string for scstatehouse.gov requests

Rate Limiting

  • scstatehouse.gov: 1 req/sec with exponential backoff retries. Responses cached in memory.
  • Open States API: 1 req/sec, 500 req/day. Legislators cached 7 days, bills 6 hours.
  • Nominatim geocoding (used by find_representatives): 1 req/sec, addresses cached 30 days.

Development

npm install
npm run dev      # Start with tsx (hot reload)
npm test         # Run tests
npm run build    # Compile TypeScript

License

MIT