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

@agentpost/mcp-server

v1.0.0

Published

MCP server exposing all 9 AgentPost data verticals as AI agent tools

Downloads

118

Readme

@agentpost/mcp-server

MCP (Model Context Protocol) server exposing all 9 AgentPost data verticals as AI agent tools. Built on the MCP SDK with stdio transport for use with Claude Desktop, Claude Code, and any MCP-compatible client.

Available Tools

| Tool | Vertical | Price | |------|----------|-------| | agentpost_sec_signals | SEC filings from EDGAR | ~$0.05 USDC | | agentpost_permit_activity | Construction permits | ~$0.01 USDC | | agentpost_fda_pipeline | FDA drug approvals and trials | ~$3.00 USDC | | agentpost_job_trends | Job posting signals | ~$0.15 USDC | | agentpost_patent_radar | Patent landscape | ~$0.10 USDC | | agentpost_gov_contracts | SAM.gov federal contracts | ~$0.05 USDC | | agentpost_litigation_intel | CourtListener federal cases | ~$0.05 USDC | | agentpost_regulatory_changes | Federal Register rules | ~$0.05 USDC | | agentpost_supply_chain | CBP and UN Comtrade flows | ~$0.05 USDC |

Prerequisites

The AgentPost server must be running locally before starting the MCP server:

# In the agentpost directory
node src/index.js serve --port 3402

Usage

npx (no install)

AGENTPOST_BASE_URL=http://localhost:3402 npx @agentpost/mcp-server

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "agentpost": {
      "command": "npx",
      "args": ["@agentpost/mcp-server"],
      "env": {
        "AGENTPOST_BASE_URL": "http://localhost:3402",
        "AGENTPOST_WALLET_KEY": "your-wallet-private-key"
      }
    }
  }
}

Claude Code

claude mcp add agentpost -- npx @agentpost/mcp-server

Or with environment variables:

claude mcp add agentpost -e AGENTPOST_BASE_URL=http://localhost:3402 -e AGENTPOST_WALLET_KEY=your-key -- npx @agentpost/mcp-server

Direct node execution

node packages/mcp-server/index.js

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | AGENTPOST_BASE_URL | No | http://localhost:3402 | Base URL of the AgentPost HTTP server | | AGENTPOST_WALLET_KEY | Yes for paid calls | - | x402 wallet private key for micropayments |

Tool Reference

agentpost_sec_signals

Fetch SEC filing signals from EDGAR.

ticker   string  Stock ticker symbol (e.g. NVDA, AAPL)
days     number  Days to look back (default: 30, max: 365)

agentpost_permit_activity

Fetch construction permit activity.

city       string  City name filter
state      string  Two-letter state code (e.g. CA, TX)
days       number  Days to look back (default: 7)
min_value  number  Minimum permit value in USD
type       string  Permit type filter

agentpost_fda_pipeline

Query FDA drug approvals and clinical trials.

drug       string  Drug name to search (e.g. ozempic)
condition  string  Medical condition (e.g. diabetes, cancer)
phase      enum    Clinical trial phase: 1, 2, 3, or 4
type       enum    approvals or trials (default: approvals)
days       number  Days to look back (default: 30)
limit      number  Max results (default: 20)
status     string  all, approved, or pending (default: all)

agentpost_job_trends

Analyze job posting trends by company and role.

company  string  Company name (e.g. OpenAI)
role     string  Job title keywords (e.g. "machine learning engineer")
days     number  Days to look back (default: 30)
limit    number  Max results (default: 50)

agentpost_patent_radar

Search patent landscape by assignee, CPC class, or keywords.

assignee  string  Patent assignee/company (e.g. nvidia)
cpc       string  CPC classification code (e.g. G06N)
keywords  string  Keywords in patent title or abstract
days      number  Days to look back (default: 30)
limit     number  Max results (default: 20)
type      enum    grant or application (default: grant)

agentpost_gov_contracts

Query US federal contract awards from SAM.gov.

days   number  Days to look back (default: 30)
ptype  string  Procurement type (e.g. A for BPA, B for purchase order)
limit  number  Max results (default: 50)

agentpost_litigation_intel

Monitor federal court filings via CourtListener.

days      number  Days to look back (default: 7)
court     string  Court ID: scotus, ca1-ca11, cadc, cafc
keywords  string  Keywords to filter cases
limit     number  Max results (default: 20)

agentpost_regulatory_changes

Track Federal Register rules and notices.

days    number  Days to look back (default: 7)
agency  string  Agency acronym (e.g. FDA, SEC, EPA, FTC)
type    string  Document type: RULE, PRORULE, NOTICE, PRESDOCU
limit   number  Max results (default: 20)

agentpost_supply_chain

Analyze global trade flows via CBP and UN Comtrade.

direction  enum    import or export (default: import)
country    string  ISO country code (e.g. CN, DEU, MEX)
commodity  string  HS or NAICS commodity code (e.g. 8542)
limit      number  Max results (default: 50)

x402 Micropayments

Each tool call triggers an x402 micropayment to the AgentPost server. Set AGENTPOST_WALLET_KEY to your wallet private key. Payments are made in USDC on Base Sepolia (testnet) or Base Mainnet depending on server configuration.

License

MIT