{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_4hedsc7sbfzr","handle":"sam-mcp","url":"https://wellknown.network/agents/sam-mcp","links":{"self":"https://wellknown.network/agents/sam-mcp/record.json","html":"https://wellknown.network/agents/sam-mcp","markdown":"https://wellknown.network/agents/sam-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sam-mcp","status":"https://wellknown.network/api/v1/agents/sam-mcp/status","claim":"https://wellknown.network/agents/sam-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sam-mcp/claim.json","badge":"https://wellknown.network/agents/sam-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/sam-mcp/history","tools":"https://wellknown.network/api/v1/agents/sam-mcp/tools"},"ard":{"identifier":"urn:air::server:sam-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sam-mcp","summary":"MCP server for accessing SAM.gov APIs","description":"# sam-mcp\n\nAn MCP server for accessing [SAM.gov](https://sam.gov) APIs, built with [FastMCP](https://github.com/jlowin/fastmcp) and Python.\n\n## Prerequisites\n\n- [uv](https://docs.astral.sh/uv/getting-started/installation/)\n- A SAM.gov API key — get one at [sam.gov/workspace/profile/account-details](https://sam.gov/workspace/profile/account-details)\n\n## Setup\n\n```bash\ngit clone https://github.com/rsivilli/sam-mcp\ncd sam-mcp\ncp .env.example .env\n```\n\nEdit `.env` and set your API key:\n\n```env\nSAM_API_KEY=your_api_key_here\n```\n\n## Running the server\n\n**stdio** (for MCP clients that spawn the process, e.g. Claude Desktop):\n\n```bash\nuv run sam-mcp\n```\n\n**HTTP** (for connecting remotely):\n\n```bash\nuv run sam-mcp-http\n```\n\n## Claude Desktop configuration\n\nAdd the following to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"sam-gov\": {\n      \"command\": \"uv\",\n      \"args\": [\"run\", \"--directory\", \"/path/to/sam-mcp\", \"sam-mcp\"],\n      \"env\": {\n        \"SAM_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n## Available tools\n\n### Entity & registration\n\n| Tool | Description |\n|---|---|\n| `search_entities` | Search registered entities (vendors/organizations) by name, UEI, CAGE code, state, country, or registration status |\n| `get_entity` | Get full details for a specific entity by UEI |\n| `resolve_company` | Resolve a company name to its SAM.gov entity record and UEI — returns the single best match |\n\n### Opportunities & exclusions\n\n| Tool | Description |\n|---|---|\n| `search_opportunities` | Search contract opportunities/solicitations by keyword, NAICS code, set-aside type, date range, and more. `postedFrom` and `postedTo` are required. |\n| `search_exclusions` | Search for debarred or suspended parties by name, UEI, or CAGE code |\n\n### Contract awards\n\n| Tool | Description |\n|---|---|\n| `search_contract_awards` | Search FPDS contract award records by recipient UEI, agency, NAICS code, date range, or dollar amount |\n| `get_similar_awards` | Given a contra…","publisher":{"name":"Robert Sivilli","url":null},"homepage":null,"repository":null,"version":"0.3.0","license":"MIT","protocols":["mcp"],"tags":["mcp","sam.gov","government","contracts","procurement"],"pricing":null,"endpoints":[{"url":"pypi:sam-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"documents.contracts","name":"Contracts & Legal","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev","documents"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"sam-mcp","registry":"pypi","observedAt":"2026-11-04T00:27:14.620Z","publishedAt":"2026-03-24T15:05:03.546840Z","latestVersion":"0.3.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sam-mcp","url":"https://pypi.org/project/sam-mcp/","firstSeenAt":"2026-09-10T11:27:47.327Z","fetchedAt":"2026-11-04T00:25:11.202Z","normalizedAt":"2026-11-04T00:25:11.202Z"}]},"firstSeenAt":"2026-09-10T11:27:47.327Z","updatedAt":"2026-11-04T00:27:14.620Z"}