[Claude] MCP server: implement browse and authors tools - #203
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace lw_af_posts_sorted stub with working browse tool. Sort by date, karma, karma_per_vote, stampy_score, or lerp_normed(field_a, field_b, t) for custom blends of any two fields (newness, oldness, karma, karma_per_vote, stampy_score). Numeric 0-1 shorthand for karma+recency. Add lw_af_authors: list authors by article count with pagination and date/source filters. Splits comma-separated authors field. Add lw_af_tags: all tags grouped by LW wiki category (AI, Rationality, World Modeling, World Optimization, Practical, Community, Site Meta, Other). Browse filters: author, source, tag, after/before date range. Default output includes hash_id, karma_per_vote, tags, snippet_start. Karma from metadata JSON, stampy_score from miri_confidence. Blend normalization uses hardcoded corpus bounds in SQL. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
nerualauren
force-pushed
the
claude/mcp-browse-and-authors
branch
from
March 30, 2026 00:33
a8afaaf to
d1dd4c4
Compare
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
lw_af_posts_sortedstub with a working browse tool: sort by"date","score", or a0.0-1.0blend (normalized score + recency computed in SQL via min/max subqueries)author,after/beforedate range, andsourcefilters to browselw_af_authorstool: lists authors by article count, splits comma-separated authors field, supports pagination (n/offset) and same date/source filtersctoc(250 + 148 tokens) and Claude API calls for unambiguous parameter usageTest plan
🤖 Generated with Claude Code