Skip to content

Add Perigon extension - #33801

Merged
raycastbot merged 10 commits into
raycast:mainfrom
galen-perigon:ext/perigon
Nov 27, 2026
Merged

raycastbot merged 10 commits into
raycast:mainfrom
galen-perigon:ext/perigon

Conversation

@galen-perigon

@galen-perigon galen-perigon commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds the Perigon extension. Perigon is a real-time news intelligence platform, and this extension lets you search it and keep up with your monitors without leaving Raycast.
Commands

  • Search News: Type to search recent articles. The detail pane shows the headline, summary, publish date, and the publisher's favicon and link. You can open or copy the article.
  • Search Stories: Search story clusters, which are groups of articles covering the same event. Each story shows its summary, a stack of the publishers covering it, and article and source counts. It opens on perigon.io. If your organization doesn't have clusters access, the command says so and suggests Search News instead.
  • My Monitors: Browse your Perigon monitors grouped by Active, Paused, and Draft, with a status filter. Event and mention monitors open a list of their events. Topic monitors open their briefings.
    Raycast AI
    The extension bundles Perigon's hosted MCP server (https://mcp.perigon.io/v1/mcp) with dynamic OAuth, so @Perigon works in AI Chat. It also includes two skills, News Research and Monitor Insights, which guide the model through common research and monitoring workflows.
    Auth
    Users sign in with their own Perigon account using OAuth with PKCE. They never paste an API key. The native commands and the MCP server use separate sign-ins against the same account, and usage is billed to the user's Perigon organization.

Screencast

perigon-raycast.mp4

Checklist

- Updating agents and readme .mds
- Raycast extension support
- Use perigon user agent for API requests (raycast#94)
- Adding skill support for chatgpt plugin (raycast#95)
- Document default create_monitor and social monitor creation. (raycast#93)
- Register create_monitor in the default MCP tool set and enforce eventType. (raycast#92)
- Expand monitor MCP tools and tighten agent instructions (raycast#91)
- Fix link title for Monitors, Insights workflow
- Update README.md
- Emit MCP telemetry on every upstream Perigon API call. (raycast#89)
- Fix API inconsistencies (raycast#90)
- Expose journalist email in search_journalists MCP output (raycast#88)
- Fix social request tracking (raycast#87)
- Monitor MCP tools and stats-top-entities selection (raycast#86)
- Monitor MCP catalog and news-stories alignment (raycast#85)
- Expose social tools in the playground tools and chat APIs (raycast#84)
- Updating server instructions, adding marketplace skills, etc (raycast#83)
- Add social api tools (raycast#82)
- fix: make mcp.perigon.io redirect reach the worker (raycast#79)
- Redirect mcp.perigon.io playground UI to perigon.io/mcp (raycast#78)
- Adding MCP endpoint telemetry support and workers to handle it (raycast#77)
- Updating package.json
- Remove deprecated summary models
- fix(monitors): convert schedule hours to timezoneId for MCP clients (raycast#75)
- fix(oauth): default resource on authorize redirect (raycast#74)
- Add Perigon marketplace capability labels (raycast#73)
- Packaging updates (raycast#72)
- Packaging prep for openai (raycast#71)
- Formatting README
- Updating README to more accurately reflect tool selection
- feat(mcp): add human-readable title annotations for all tools (raycast#70)
- test(mcp): share ?tools= request parsing and cover advertised tool su… (raycast#69)
- fix(mcp): honor ?tools=all for opt-in monitoring and platform tools (raycast#68)
- fix: align MCP OAuth endpoints on mcp.perigon.io for Codex (raycast#67)
- fix: stop OAuth metadata from advertising localhost in production (raycast#66)
- Updating README for oauth (raycast#65)
- Re-introducing Oauth support after premature merge. (raycast#64)
- Revert premature OAuth merge (raycast#62)
- PER-5265: Adding oauth support (raycast#62)
- Mcp publishing prep (raycast#61)
- Adding more helpful language to our 401 errors (raycast#60)
- Add MCP Registry metadata for the remote Perigon server (raycast#59)
- Remove tsconfig baseUrl while keeping path aliases. (raycast#58)
- Expand Perigon MCP API coverage, entitlements, and research tooling (raycast#56)
- Add MCP tools for the public monitors API (raycast#55)
- Add insights topic support (raycast#54)
- Revert today\'s changes
- Add resource output schema
- Fix
- Final attempt
- Another attempt
- Fix
- Use ext-apps
- Another fix attempt
- Fix size reporting
- Fix preview sizing
- Fix apps
- Update instructions
- Minor prompt fixes
- Add quarter
- Fix
- Add preview chart tool
- Fix chart display again
- Fix chart display
- Fix charts
- Fix chart rendering
- Add export title
- Add timeout
- Fix
- Fix chart instructions
- Fix instructions
- Add export result viewer
- Add mcp-level instructions; refactor signal tools into separate files
- Fix
- Fix
- Fix
- Fix
- Fix
- Fix
- Fix
- Add interactive chart app
- Fix
- Fix UI
- Add signal insights tools to ui
- Fix context blowup
- Better signal tool naming
- Add signal insights tools (raycast#51)
- fix: CORS sub-domains
- fix: CORS
- fix: add another local hostname
- feat: allow cors to make it easier for the migration of the playgroun to the perigon.io (raycast#50)
- fix: size and page not being properly passed into the news vector search tool (raycast#49)
- Selective mcp tools (raycast#48)
- feat: add a new ?tools query parameter to make it easier for user to … (raycast#47)
- fix: switching env variables names
- update deploy workflow
- chore: allow manual deploy workflow triggering
- fix: upgrade github actions to node v24
- feat: refactor modules and code to follow modular, clean code style a… (raycast#46)
- feat: add minSourceDiversity parameter to the stories tool
- feat: add stats tools for sentiment, article counts, and entity spikes (raycast#45)
- Merge https://github.com/goperigon/perigon-mcp-server
- feat: add more fields to the JSON context fed to the LLM
- Add maintainers section to README
- feat: add a new search_story_history endpoint
- feat: update mcp tools to latest with optimized description and better tool calling as well as a better model for the chat sandbox
- update broken perigon logo image
- fix: update login card copy (raycast#44)
- Dev (raycast#41)
- fix: observability? (raycast#40)
- tweak: add code owners (raycast#39)
- Revert "Improve mcp (raycast#37)" (raycast#38)
- Improve mcp (raycast#37)
- feat: trying to dockerize the MCP server for smithery deployment
- feat: update README with more examples for MCP
- feat: update README
- tweak: prompt (raycast#36)
- Update wrangler config name to perigon-mcp-server (raycast#35)
- fix: wrangler (raycast#34)
- disable turnstile (raycast#33)
- Wiki search tools (raycast#31)
- fix: vite vars
- Wip (raycast#28)
- Revert "feat: add mcp ratelimiter (raycast#23)"
- feat: add mcp ratelimiter (raycast#23)
- Cursor/fix light mode configuration in tailwind 8b4c (raycast#27)
- Refactor app structure, add routing with react-router-dom (raycast#25)
- feat: add copy icon
- bump max steps
- tweak: add streaming headers to attempt to get better streaming reliability, see: https://ai-sdk.dev/docs/troubleshooting/streaming-not-working-when-deployed
- tweak: add tool call repair
- tweak sources styling
- tweak: adjust tool calling
- feat: update light mode theme to match Perigon Web v2 branding (raycast#24)
- tweak: allow scroll interrupts
- tweak: update initial prompt
- tweak: tool call styling updates / fixes
- tweak: styling updates for mobile
- feat: fix styling, tailwind v4, remove theme toggle until light mode is updated
- fixed selection indicator
- fixed light mode borders
- fixed theme toggle
- styling checkpoint
- styling checkpoint
- styling checkpoint
- styling checkpoint
- styling checkpoint
- tweak: styling updates
- tweak: update mobile view
- feat: mobile view adjustments
- tweak: adjust padding and text
- tweak: update secret
- tweak: adjust presentation of some fields
- update wrangler.jsonc
- fix: mcp bug (raycast#22)
- fix: 404
- tweak: add bun engine
- fix: build issue
- feat: rework ui (raycast#21)
- Misc updates (raycast#20)
- bump max steps
- fix css
- tweak: fix scrollbar
- tweak ui
- tweak: update ui looks
- tool sidebar
- feat: update readme, add tool sidebar
- cleanup scripts
- chore: cleanup wrangler
- chore: cleanup wrangler
- some frontend cleanup (raycast#19)
- Update wrangler config name to perigon-mcp-server (raycast#17)
- small cleanup
- Update wrangler config name to perigon-mcp-server (raycast#16)
- delete workflow
- chore: update docs
- feat: add topics, update tool name
- Update wrangler config name to perigon-mcp-server (raycast#14)
- tweak: cleanup and fix bug (raycast#13)
- disable turnstile
- update secret
- Turnstile (raycast#12)
- tweak: add topic search support (raycast#11)
- tweak: update agents.md
- chore: document playground
- feat: improved query tooling
- tweak: update docs
- tweak: update prompt dates
- tweak: update prompt
- tweak: update page numbers
- Wrangler tweaks (raycast#9)
- Ux fixes (raycast#8)
- New tools (raycast#6)
- feat: new tools, mcp playground, cleanup, package updates (raycast#4)
- chore: update docs a bit (raycast#3)
- chore: update docs and lockfile
- feat: add times to story tool results
- tweak: update country description
- chore: update readme to list supported tools
- Misc cleanup (raycast#2)
- feat: update the tools and their capabilities
- tweak: remove console log statements
- tweak: small updates to readme and field descriptions
- chore: update readme, cleanup wrangler.jsonc, update deps
- tweak: update q field description
- Merge pull request raycast#1 from goperigon/pky-144/list-tools-based-on-scopes
- feat: add scope based tool support, need to cleanup this code later lol"
- tweak: add tool annotation
- tweak: small update to mcp server tool country field description
- tweak: small update to mcp server tool param description
- rename field
- feat: add versioned endpoint
- chore: update readme
- feat: add clean articles tool
- kill unused code
- chore: update readme, proj still in prog
- Initial commit
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · No outstanding findings prevent merging.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No outstanding findings prevent merging.

Summary

Adds Perigon news search, story search, and monitor browsing with OAuth, plus a hosted MCP connection and two AI skills.

  • Native Perigon commands share a sign-in and API connection.
  • Search News shows article details and actions in Raycast.
  • Search Stories displays clustered coverage and story details.
  • My Monitors groups monitor status and opens each monitor’s output.
  • Raycast AI connects to Perigon and gets news and monitor research guidance.
  • The Perigon extension includes its own build setup and store materials.

Reviews (10) · Last reviewed commit: "Update CHANGELOG.md and optimise images" · Reviewed by Greptile

Comment thread extensions/perigon/CHANGELOG.md Resolved
Comment thread extensions/perigon/README.md Resolved
Comment thread extensions/perigon/package.json Resolved
Comment thread extensions/perigon/src/my-monitors.tsx Resolved
@galen-perigon galen-perigon changed the title Add perigon extension Add Perigon extension Nov 23, 2026
- Updating sizes of metadata screencaps
- Updating sizes of metadata screencaps
- Fix Raycast Store review blockers and extension TypeScript checks.
Comment thread extensions/perigon/src/my-monitors.tsx Resolved
@galen-perigon
galen-perigon marked this pull request as ready for review November 23, 2026 18:22

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @galen-perigon 👋

Thanks for building Perigon so that sign-in uses OAuth with PKCE and no pasted API key, with the hosted MCP server and two skills for Raycast AI sitting next to the three commands 🔥

Here's everything I found in this pass:

Should fix

  • When Perigon rejects the saved token, the commands can't recover. perigonFetch (src/lib/perigon-api.ts line 65) throws "Sign in again" on a 401, but nothing clears the stored token. authorizePerigon only signs in again when the token is expired on the Raycast side, and src/lib/perigon-oauth.ts line 106 leaves expires_in empty whenever the token response doesn't include a number, so such a token never counts as expired. Retry reuses the same token as well, so a revoked or expired token leaves Search News, Search Stories and My Monitors stuck on that error, and the README promises that a command will ask for sign-in again. Could you remove the saved tokens on a 401 and tell the user to reopen the command? For example:

    if (response.status === 401) {
      await perigonOAuthClient.removeTokens();
      throw new PerigonApiError("Your Perigon session expired. Close this command and open it again to sign in.", 401);
    }

    with import { perigonOAuthClient } from "./perigon-oauth"; at the top of the file.

Optional

  • src/lib/favicon-image.ts is a 452 line hand-written PNG decoder and encoder, and src/lib/favicon.ts calls Google's undocumented t1.gstatic.com/faviconV2 endpoint, all to draw round favicons inline in the detail pane. getFavicon from @raycast/utils gives the same round list icon with no custom code, and the detail pane can keep a plain link. For example:

    import { getFavicon } from "@raycast/utils";
    
    accessories={[{ icon: getFavicon(article.url, { mask: Image.Mask.Circle }), tooltip: article.sourceDomain }]}

    That would also drop the cache folder in environment.supportPath.

  • perigon-1.png and perigon-3.png show a blinking text caret in the search field, so you may want to retake those two with the caret out of view.

Feel free to reach me here or on Slack if anything is unclear.

@0xdhrv
0xdhrv marked this pull request as draft November 25, 2026 08:17
@0xdhrv 0xdhrv self-assigned this Nov 25, 2026
- Updating metadata images
- Addressing feedback from Raycast team
Comment thread extensions/perigon/CHANGELOG.md Resolved
- Again, fixing CLI issues for metadata images, improving margins
- Again, fixing CLI issues for metadata images, improving margins
@galen-perigon
galen-perigon marked this pull request as ready for review November 25, 2026 18:26

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 3ce5392 into raycast:main Nov 27, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants