Blockza目录
STDIOBlockza目录API访问和公司信息检索MCP服务器
Blockza目录API访问和公司信息检索MCP服务器
A Model Context Protocol (MCP) server that provides access to the Blockza directory API, enabling AI assistants to search and retrieve information about companies, founders, and team members in the Blockza ecosystem.
blockza://companies) - Complete directory of companiesblockza://company/{slug}) - Detailed company informationblockza://categories) - Available company categoriesblockza://events) - Complete directory of eventsblockza://event/{id}) - Detailed event informationblockza://events/upcoming) - Upcoming events onlyblockza://events/categories) - Available event categoriesblockza://podcasts) - Complete list of podcastsblockza://podcast/{id}) - Detailed podcast informationblockza://podcasts/categories) - Available podcast categories# Create project directory mkdir blockza-directory-mcp-server cd blockza-directory-mcp-server # Copy the provided files to your project directory # - src/index.ts # - package.json # - tsconfig.json
npm install
npm run build
Find your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the server configuration:
{ "mcpServers": { "blockza-directory": { "command": "node", "args": ["/absolute/path/to/your/blockza-directory-mcp-server/build/index.js"], "env": { "NODE_ENV": "production" } } } }
Important: Replace /absolute/path/to/your/blockza-directory-mcp-server/ with the actual absolute path to your project directory.
npm run build - Build the TypeScript projectnpm run dev - Run in development mode with tsxnpm run watch - Run in watch mode for developmentnpm run clean - Clean build directoryYou can test your MCP server using the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
This will open a web interface where you can test your tools, resources, and prompts.
Once configured in Claude Desktop, you can use natural language to interact with the Blockza directory:
"Find all cryptocurrency exchanges in the Blockza directory"
"Search for AI companies that have affiliate programs"
"Show me verified companies with more than 100 views"
"Get detailed information about BitMart including team members"
"Tell me about Gynger's founder and business model"
"What are the social media links for BitMart?"
"Analyze BitMart's business model and competitive position"
"Compare all crypto exchanges in the directory"
"What are the statistics for the entire Blockza directory?"
The server integrates with the Blockza APIs:
Directory: https://api.blockza.io/api/directory
Events: https://api.blockza.io/api/events
Podcasts: https://api.blockza.io/api/podcasts
Companies: search/filter by category, details, team, stats
Events: search/filter by category/location, upcoming, details, stats
Podcasts: search/filter by category/company/status, details, stats
The server includes comprehensive error handling for:
All errors are properly logged and returned as structured responses.
MIT License - see LICENSE file for details.
Server not appearing in Claude Desktop:
claude_desktop_config.json is absolute and correctnpm run build)Build errors:
npm install to install all dependenciesRuntime errors:
https://api.blockza.ioTool not responding:
To run the server with verbose logging:
NODE_ENV=development npm run dev
Test individual API calls:
curl "https://api.blockza.io/api/directory"
For issues related to: