companylens-mcp
CompanyLens MCP gives your AI assistant access to real corporate data from official government sources. No web scraping, no hallucinations — verified data from SEC EDGAR, UK Companies House, OpenSanctions, and USAspending.gov.
README
CompanyLens MCP Server
Corporate intelligence for AI agents. Search companies, get SEC filings, screen sanctions, check government contracts — all via Model Context Protocol.
CompanyLens MCP gives your AI assistant access to real corporate data from official government sources. No web scraping, no hallucinations — verified data from SEC EDGAR, UK Companies House, OpenSanctions, and USAspending.gov.
Available Tools
| Tool | Description | Data Source |
|---|---|---|
company_search |
Search companies by name or ticker | SEC EDGAR, Companies House |
company_profile |
Full corporate profile — financials, filings, officers, registration | SEC EDGAR, Companies House |
company_sanctions_check |
Screen against 75+ global sanctions lists | OpenSanctions (OFAC, EU, UN, HMT) |
company_contracts |
US government contracts and open opportunities | USAspending.gov, SAM.gov |
company_court_cases |
Federal court cases and litigation history | CourtListener / RECAP |
Quick Start
Claude Desktop
claude mcp add companylens -- npx companylens-mcp
Claude Code (CLI)
Add to your project's .mcp.json:
{
"mcpServers": {
"companylens": {
"command": "npx",
"args": ["companylens-mcp"]
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"companylens": {
"command": "npx",
"args": ["companylens-mcp"]
}
}
}
Windsurf
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"companylens": {
"command": "npx",
"args": ["companylens-mcp"]
}
}
}
Smithery
npx -y @smithery/cli install companylens-mcp --client claude
Usage Examples
Once connected, ask your AI assistant:
Company Research
- "Search for Apple Inc and show me their latest SEC filings"
- "Get the full profile for Microsoft — revenue, officers, SIC codes"
- "Look up Rolls Royce in the UK Companies House registry"
Compliance & Risk
- "Screen Gazprom against global sanctions lists"
- "Check if this company has any OFAC matches"
- "Run a sanctions check on all companies in my spreadsheet"
Government Contracts
- "What government contracts does Boeing have?"
- "Show me the top federal contracts for Lockheed Martin"
- "Are there any open SAM.gov opportunities for this vendor?"
Legal Research
- "Find federal court cases involving Tesla"
- "What litigation history does Johnson & Johnson have?"
How It Works
AI Assistant → CompanyLens MCP → CompanyLens API → Government Sources
(this server) (REST backend) SEC, CH, OFAC, SAM.gov
- Your AI calls
company_searchwith a company name - CompanyLens searches official registries (SEC EDGAR, Companies House)
- Returns an
entity_id— a stable identifier for that company - Use the
entity_idwith other tools to get profile, sanctions, contracts, court cases
Every response includes an agent_hint — a natural-language suggestion for what the AI should do next.
Data Sources
| Source | Coverage | Data |
|---|---|---|
| SEC EDGAR | US public companies | 10-K, 10-Q filings, XBRL financials, SIC codes |
| Companies House | UK companies | Registration, officers, PSC, filing history |
| OpenSanctions | Global | OFAC SDN, EU Consolidated, UN Security Council, HMT + 75 lists |
| USAspending.gov | US federal | Contract awards, amounts, agencies |
| SAM.gov | US federal | Active opportunities, entity registration |
| CourtListener | US federal courts | Dockets, case metadata, RECAP archive |
Configuration
Custom API URL
By default, the server connects to https://companylensapi.vercel.app. To use your own instance:
COMPANYLENS_API_URL=https://your-api.example.com npx companylens-mcp
Or in your MCP config:
{
"mcpServers": {
"companylens": {
"command": "npx",
"args": ["companylens-mcp"],
"env": {
"COMPANYLENS_API_URL": "https://your-api.example.com"
}
}
}
}
Development
git clone https://github.com/diplv/companylens-mcp.git
cd companylens-mcp
pnpm install
pnpm dev
Build
pnpm build
Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
API Reference
company_search
Search companies by name or stock ticker.
Parameters:
query(string, required) — Company name or ticker (e.g., "Apple", "AAPL", "Rolls Royce")jurisdiction(string, optional) — Filter:us,uk, orall(default:all)limit(number, optional) — Max results 1-50 (default:10)
Returns: List of companies with entity_id for use with other tools.
company_profile
Full corporate profile with financials and registration data.
Parameters:
entity_id(string, required) — CompanyLens entity ID fromcompany_search
Returns: JSON with name, jurisdiction, status, SIC codes, registered address, XBRL financials (revenue, net income, total assets), recent filings, officers list, and data source attribution.
company_sanctions_check
Screen against global sanctions lists.
Parameters:
entity_id(string, required) — CompanyLens entity ID fromcompany_search
Returns: Boolean is_sanctioned flag, match details with confidence scores, and list names. Includes a disclaimer that this is automated screening, not legal advice.
company_contracts
US government contract awards and opportunities.
Parameters:
entity_id(string, required) — CompanyLens entity ID fromcompany_search
Returns: Awarded contracts (amount, agency, date) and open SAM.gov opportunities.
company_court_cases
Federal court litigation history.
Parameters:
entity_id(string, required) — CompanyLens entity ID fromcompany_search
Returns: Court cases with case name, court, docket number, filing date, and status.
Related
- CompanyLens API — The REST API backend powering this MCP server
- Model Context Protocol — The open protocol for AI tool integration
- Smithery — MCP server marketplace
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。